pub enum ErrorOf<E> {
Pdf(ReadFailure<E>),
Pkix {
enclosure: Location,
cause: Error,
},
Encoding {
enclosure: Location,
cause: Error,
},
Cms {
enclosure: Location,
cause: Error,
},
}Expand description
An ASN.1 or CMS diagnostic has coordinates in the decoded Contents value. Its physical enclosing string is retained separately, never added as if escape decoding were a one-to-one file-offset translation.
Variants§
Pdf(ReadFailure<E>)
Original PDF acquisition/processing failure.
Pkix
Original certificate/status cause with its actual PDF enclosure.
Fields
Encoding
Original ASN.1 decoding cause and honest physical enclosure.
Fields
Cms
Original CMS cause and honest physical enclosure.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> !Freeze for ErrorOf<E>
impl<E> RefUnwindSafe for ErrorOf<E>where
ReadFailure<E>: RefUnwindSafe,
impl<E> Send for ErrorOf<E>where
ReadFailure<E>: Send,
impl<E> Sync for ErrorOf<E>where
ReadFailure<E>: Sync,
impl<E> Unpin for ErrorOf<E>where
ReadFailure<E>: Unpin,
impl<E> UnsafeUnpin for ErrorOf<E>where
ReadFailure<E>: UnsafeUnpin,
impl<E> UnwindSafe for ErrorOf<E>where
ReadFailure<E>: UnwindSafe,
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