Struct weezl::error::VectorResult
source · pub struct VectorResult {
pub consumed_in: usize,
pub consumed_out: usize,
pub status: Result<LzwStatus, LzwError>,
}
Expand description
The result of a coding operation into a vector.
Fields§
§consumed_in: usize
The number of bytes consumed from the input buffer.
consumed_out: usize
The number of bytes written into the output buffer.
status: Result<LzwStatus, LzwError>
The status after returning from the write call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VectorResult
impl RefUnwindSafe for VectorResult
impl Send for VectorResult
impl Sync for VectorResult
impl Unpin for VectorResult
impl UnwindSafe for VectorResult
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