pub enum Context {
None,
Caj {
record: Option<u32>,
},
Kdh,
Pdf {
object: Option<(u32, u16)>,
repair: bool,
},
Hnc8 {
variant: Option<Variant>,
page: Option<u32>,
image: Option<u32>,
segment: Option<u32>,
stage: Option<Hnc8Stage>,
},
Jbig2 {
segment: Option<u32>,
},
}Expand description
The structure a failure was located in.
Variants§
None
Caj
A CAJ container field, or a one-based TOC or page-table record.
Kdh
A KDH wrapper or its encoded PDF boundary.
An embedded or standalone PDF. repair marks a damaged structure
whose repair would be ambiguous.
Hnc8
An HN/C8 container, page or image, with one-based numbers, the JBIG2 segment of a type-3 image, and the conversion stage when converting.
Fields
Jbig2
A JBIG2 segment, by its segment number.
Trait Implementations§
impl Copy for Context
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
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