pub struct DecodeProgress {
pub consumed: usize,
pub produced: usize,
}Expand description
Bytes one StreamDecoder::decode call took from its input and wrote to
its output.
Fields§
§consumed: usize§produced: usizeTrait Implementations§
Source§impl Clone for DecodeProgress
impl Clone for DecodeProgress
Source§fn clone(&self) -> DecodeProgress
fn clone(&self) -> DecodeProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodeProgress
Source§impl Debug for DecodeProgress
impl Debug for DecodeProgress
impl Eq for DecodeProgress
Source§impl PartialEq for DecodeProgress
impl PartialEq for DecodeProgress
Source§fn eq(&self, other: &DecodeProgress) -> bool
fn eq(&self, other: &DecodeProgress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodeProgress
Auto Trait Implementations§
impl Freeze for DecodeProgress
impl RefUnwindSafe for DecodeProgress
impl Send for DecodeProgress
impl Sync for DecodeProgress
impl Unpin for DecodeProgress
impl UnsafeUnpin for DecodeProgress
impl UnwindSafe for DecodeProgress
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