pub enum RequirementError<E, N> {
Input(InputError<E, N>),
Coverage(CoverageError<E, N>),
Selection(CoverageError<N>),
Index {
signature: N,
index: usize,
},
Role {
property: N,
},
}Expand description
Source refusal and caller selection errors are not failed token assertions.
Variants§
Input(InputError<E, N>)
Original source, generation or current-operation refusal.
Coverage(CoverageError<E, N>)
Original archive input coverage could not be selected completely.
Selection(CoverageError<N>)
Archive coverage of a countersignature could not be tested.
Index
No timestamp exists at this prepared catalogue ordinal.
Fields
§
signature: NOriginal selected signature.
Role
The selected original timestamp is not an archive.
Fields
§
property: NOriginal selected property.
Trait Implementations§
Source§impl<E, N> From<InputError<E, N>> for RequirementError<E, N>
impl<E, N> From<InputError<E, N>> for RequirementError<E, N>
Source§fn from(cause: InputError<E, N>) -> Self
fn from(cause: InputError<E, N>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E, N> Forget for RequirementError<E, N>
impl<E, N> Freeze for RequirementError<E, N>
impl<E, N> RefUnwindSafe for RequirementError<E, N>where
InputError<E, N>: RefUnwindSafe,
CoverageError<E, N>: RefUnwindSafe,
CoverageError<N>: RefUnwindSafe,
N: RefUnwindSafe,
impl<E, N> Send for RequirementError<E, N>
impl<E, N> Sync for RequirementError<E, N>
impl<E, N> Unpin for RequirementError<E, N>
impl<E, N> UnsafeUnpin for RequirementError<E, N>where
InputError<E, N>: UnsafeUnpin,
CoverageError<E, N>: UnsafeUnpin,
CoverageError<N>: UnsafeUnpin,
N: UnsafeUnpin,
impl<E, N> UnwindSafe for RequirementError<E, N>where
InputError<E, N>: UnwindSafe,
CoverageError<E, N>: UnwindSafe,
CoverageError<N>: UnwindSafe,
N: 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