pub struct LazyNet {
pub buffer: BytesMut,
pub reader: ReadHalf<TcpStream>,
}Fields§
§buffer: BytesMut§reader: ReadHalf<TcpStream>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LazyNet
impl RefUnwindSafe for LazyNet
impl Send for LazyNet
impl Sync for LazyNet
impl Unpin for LazyNet
impl UnwindSafe for LazyNet
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