pub struct Position {
pub input: u64,
pub output: u64,
}Expand description
Where in a stream an error was found.
Both counts run from the start of the stream: the codec’s construction or
last reset for 7z and the raw carry-less streams, the last
start_block for RAR. The container adds its own context (block index,
packed offset).
Fields§
§input: u64Input bytes consumed before the error.
output: u64Output bytes produced before the error.
Trait Implementations§
impl Copy for Position
impl Eq for Position
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnsafeUnpin for Position
impl UnwindSafe for Position
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