pub struct Progress {
pub consumed: usize,
pub produced: usize,
pub state: StepState,
}Available on crate feature
caller-workspace only.Expand description
What one WorkspaceDecoder::step did.
Fields§
§consumed: usizeInput bytes consumed; the next step starts after them.
produced: usizeBytes written to the front of the output slice.
state: StepStateWhat the decoder needs next.
Trait Implementations§
impl Copy for Progress
impl Eq for Progress
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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