pub enum AssessmentError<E> {
Pdf(ReadFailure<E>),
Material(MaterialFailure),
}Expand description
Structural acquisition and interpreted validation-material failures remain separate phases. The PDF reader itself does not carry CMS parser state.
Variants§
Pdf(ReadFailure<E>)
Original PDF syntax, source, or execution cause.
Material(MaterialFailure)
Original interpreted material cause and its actual source enclosure.
Trait Implementations§
Source§impl<E: Debug> Debug for AssessmentError<E>
impl<E: Debug> Debug for AssessmentError<E>
Source§impl<E> From<Error> for AssessmentError<E>
impl<E> From<Error> for AssessmentError<E>
Source§impl<E> From<InputError<E>> for AssessmentError<E>
impl<E> From<InputError<E>> for AssessmentError<E>
Source§fn from(cause: InputError<E>) -> Self
fn from(cause: InputError<E>) -> Self
Converts to this type from the input type.
Source§impl<E> From<ReadFailure<E>> for AssessmentError<E>
impl<E> From<ReadFailure<E>> for AssessmentError<E>
Source§fn from(cause: ReadFailure<E>) -> Self
fn from(cause: ReadFailure<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> !Freeze for AssessmentError<E>
impl<E> RefUnwindSafe for AssessmentError<E>where
ReadFailure<E>: RefUnwindSafe,
impl<E> Send for AssessmentError<E>where
ReadFailure<E>: Send,
impl<E> Sync for AssessmentError<E>where
ReadFailure<E>: Sync,
impl<E> Unpin for AssessmentError<E>where
ReadFailure<E>: Unpin,
impl<E> UnsafeUnpin for AssessmentError<E>where
ReadFailure<E>: UnsafeUnpin,
impl<E> UnwindSafe for AssessmentError<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