pub struct SkippedRegion {
pub offset: usize,
pub len: usize,
pub error: Error,
}Expand description
A span of the input scan_packs skipped because the pack starting
there did not parse.
Fields§
§offset: usizeByte offset (from the start of the scanned buffer) where the failed pack began.
len: usizeBytes skipped: up to the next pack_start_code found after
offset, or to the end of the buffer if none follows.
error: ErrorWhy the pack at offset failed to parse.
Trait Implementations§
Source§impl Clone for SkippedRegion
impl Clone for SkippedRegion
Source§impl Debug for SkippedRegion
impl Debug for SkippedRegion
impl Eq for SkippedRegion
Source§impl PartialEq for SkippedRegion
impl PartialEq for SkippedRegion
impl StructuralPartialEq for SkippedRegion
Auto Trait Implementations§
impl Freeze for SkippedRegion
impl RefUnwindSafe for SkippedRegion
impl Send for SkippedRegion
impl Sync for SkippedRegion
impl Unpin for SkippedRegion
impl UnsafeUnpin for SkippedRegion
impl UnwindSafe for SkippedRegion
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