Fields
consumed: usizeThe number of chunks that were consumed by the operation.
In the case of tx operations, this is the number of chunks that were sent on the
stream.
In the case of rx operations, this is the number of chunks that were received from the
stream.
available: usizeThe number of chunks that are available on the stream.
In the case of tx operations, this is the number of additional chunks that can be sent
in the stream. This value will be based on the assumption of 1 byte chunks and will
contain the same value of bytes.available.
In the case of rx operations, this is the number of additional chunks that can be received
from the stream.
Trait Implementations
impl Eq for Chunks
impl StructuralEq for Chunks
impl StructuralPartialEq for Chunks
Auto Trait Implementations
impl RefUnwindSafe for Chunks
impl Send for Chunks
impl Sync for Chunks
impl Unpin for Chunks
impl UnwindSafe for Chunks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more