pub enum Error<E, PE, N> {
Foreign {
node: N,
},
Access(AccessError<E, N>),
Obligation(ObligationError<N>),
Index(IndexError<N>),
Archive(ArchiveError<N>),
Provider {
node: N,
cause: PE,
},
Resource {
node: N,
cause: MemoryError,
},
CallbackProtocol {
node: N,
},
}Expand description
Terminal source, scope, callback or resource failure. No successful partial report is returned, and external handler side effects cannot be rolled back.
Variants§
Foreign
Foreign source, signature, incomplete counter census or archive binding.
Fields
§
node: NOriginal enclosing node.
Access(AccessError<E, N>)
Original XML/current-operation/source refusal.
Obligation(ObligationError<N>)
Original scope/membership query refusal.
Index(IndexError<N>)
Original known artifact lookup refusal.
Archive(ArchiveError<N>)
Original archive evidence/coverage/lookup refusal.
Provider
Original credential format handler refused.
Resource
Admission failed before dependent traversal or report growth.
Fields
§
node: NOriginal selecting credential or enclosing root.
§
cause: MemoryErrorOriginal memory/work refusal.
CallbackProtocol
The handler returned a visitor error without invoking/refusing its visitor.
Fields
§
node: NOriginal credential payload.
Trait Implementations§
Auto Trait Implementations§
impl<E, PE, N> Forget for Error<E, PE, N>
impl<E, PE, N> Freeze for Error<E, PE, N>where
N: Freeze,
AccessError<E, N>: Freeze,
ObligationError<N>: Freeze,
IndexError<N>: Freeze,
ArchiveError<N>: Freeze,
PE: Freeze,
impl<E, PE, N> RefUnwindSafe for Error<E, PE, N>where
N: RefUnwindSafe,
AccessError<E, N>: RefUnwindSafe,
ObligationError<N>: RefUnwindSafe,
IndexError<N>: RefUnwindSafe,
ArchiveError<N>: RefUnwindSafe,
PE: RefUnwindSafe,
impl<E, PE, N> Send for Error<E, PE, N>where
N: Send,
AccessError<E, N>: Send,
ObligationError<N>: Send,
IndexError<N>: Send,
ArchiveError<N>: Send,
PE: Send,
impl<E, PE, N> Sync for Error<E, PE, N>where
N: Sync,
AccessError<E, N>: Sync,
ObligationError<N>: Sync,
IndexError<N>: Sync,
ArchiveError<N>: Sync,
PE: Sync,
impl<E, PE, N> Unpin for Error<E, PE, N>where
N: Unpin,
AccessError<E, N>: Unpin,
ObligationError<N>: Unpin,
IndexError<N>: Unpin,
ArchiveError<N>: Unpin,
PE: Unpin,
impl<E, PE, N> UnsafeUnpin for Error<E, PE, N>where
N: UnsafeUnpin,
AccessError<E, N>: UnsafeUnpin,
ObligationError<N>: UnsafeUnpin,
IndexError<N>: UnsafeUnpin,
ArchiveError<N>: UnsafeUnpin,
PE: UnsafeUnpin,
impl<E, PE, N> UnwindSafe for Error<E, PE, N>where
N: UnwindSafe,
AccessError<E, N>: UnwindSafe,
ObligationError<N>: UnwindSafe,
IndexError<N>: UnwindSafe,
ArchiveError<N>: UnwindSafe,
PE: 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