pub enum InputError<E> {
Resource {
location: Location,
cause: MemoryError,
},
Changed {
location: Location,
},
Contract {
location: Location,
},
Cause {
location: Location,
cause: E,
},
}Expand description
A source processing failure with an honest original file location.
Variants§
Resource
Original execution denied work or scratch capacity.
Fields
§
cause: MemoryErrorPreserved memory or work admission failure.
Changed
The owner changed identity, generation or length. Prior evidence cannot be reused; this is not an unreadable PDF field.
Contract
The acquisition violated its advertised length or output contract.
Cause
Original opaque source failure.
Trait Implementations§
Source§impl<E: Debug> Debug for InputError<E>
impl<E: Debug> Debug for InputError<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<InputError<E>> for ReadFailure<E>
impl<E> From<InputError<E>> for ReadFailure<E>
Source§fn from(error: InputError<E>) -> Self
fn from(error: InputError<E>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> Forget for InputError<E>
impl<E> Freeze for InputError<E>where
E: Freeze,
impl<E> RefUnwindSafe for InputError<E>where
E: RefUnwindSafe,
impl<E> Send for InputError<E>where
E: Send,
impl<E> Sync for InputError<E>where
E: Sync,
impl<E> Unpin for InputError<E>where
E: Unpin,
impl<E> UnsafeUnpin for InputError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for InputError<E>where
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