pub struct Flow { /* private fields */ }
Expand description
Flow for reading a chunk of bytes from a TCP stream.
This flow should be used when you need to read a chunk of bytes
from a TCP stream. The chunk size depends on the I/O state’s
internal read buffer capacity, which can be adjusted with
[Read::with_capacity
].
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnwindSafe for Flow
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