pub(crate) struct NetTransport {
pub(crate) fd: usize,
pub(crate) connected: bool,
pub(crate) saw_zero_read: bool,
}Fields§
§fd: usize§connected: bool§saw_zero_read: boolImplementations§
Source§impl NetTransport
impl NetTransport
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetTransport
impl RefUnwindSafe for NetTransport
impl Send for NetTransport
impl Sync for NetTransport
impl Unpin for NetTransport
impl UnsafeUnpin for NetTransport
impl UnwindSafe for NetTransport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more