pub struct Status {
pub remaining: usize,
pub bytes_read: usize,
pub bytes_written: usize,
}
Expand description
Describes the result of an operation.
Fields§
§remaining: usize
Number of bytes expected for next input.
This is just a hint.
bytes_read: usize
Number of bytes read from the input.
bytes_written: usize
Number of bytes written to the output.
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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