pub struct DecodeStep {
pub consumed: usize,
pub written: usize,
pub finished: bool,
}Expand description
A single incremental decode step. Retain input after consumed, and consume
output before calling again. No internal input/output staging allocation.
Fields§
§consumed: usize§written: usize§finished: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for DecodeStep
impl RefUnwindSafe for DecodeStep
impl Send for DecodeStep
impl Sync for DecodeStep
impl Unpin for DecodeStep
impl UnsafeUnpin for DecodeStep
impl UnwindSafe for DecodeStep
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