pub struct CodecStep {
pub consumed: usize,
pub produced: usize,
pub status: CodecStatus,
}Expand description
Progress made by a byte codec.
Fields§
§consumed: usizeInput bytes consumed.
produced: usizeOutput bytes produced.
status: CodecStatusRequired next action.
Implementations§
Trait Implementations§
impl Copy for CodecStep
impl Eq for CodecStep
impl StructuralPartialEq for CodecStep
Auto Trait Implementations§
impl Freeze for CodecStep
impl RefUnwindSafe for CodecStep
impl Send for CodecStep
impl Sync for CodecStep
impl Unpin for CodecStep
impl UnsafeUnpin for CodecStep
impl UnwindSafe for CodecStep
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