pub struct Progress {
pub read: usize,
pub written: usize,
pub at_frame_boundary: bool,
}Expand description
What one StreamDecoder::decode call did.
Fields§
§read: usizeInput bytes consumed.
written: usizeOutput bytes written.
at_frame_boundary: boolThe decoder is between frames with no output pending: the input so far is complete (more frames may follow).
Trait Implementations§
impl Copy for Progress
impl Eq for Progress
impl StructuralPartialEq for Progress
Auto Trait Implementations§
impl Forget for Progress
impl Freeze for Progress
impl Move 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