pub enum Error {
Kit(Error),
Object {
object: u32,
generation: u16,
cause: Box<Error>,
},
Page {
page: usize,
cause: Box<Error>,
},
}Expand description
The crate’s public error: wraps the suite pith_digest::Error
with the page or object where the failure happened.
Variants§
Kit(Error)
A document-level failure (header, xref, trailer, page tree).
Object
Failure attributed to one indirect object.
Fields
Page
Failure attributed to one page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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