pub struct Failure<E> {
pub cause: Cause<E>,
pub origins: [Option<Origin>; 4],
}Expand description
Terminal failure, preserving the exact cause and its coordinate chain.
At most two carried wrappers and two decryptions occur in this pipeline;
nested SafeContents are walked in place and add no transformation layer.
Fields§
§cause: Cause<E>Processing or callback cause, without loss of its original type.
origins: [Option<Origin>; 4]Retained source transformations, innermost to outermost. Empty means the cause refers directly to the original PFX document.
Trait Implementations§
Auto Trait Implementations§
impl<E> !Freeze for Failure<E>
impl<E> RefUnwindSafe for Failure<E>where
Cause<E>: RefUnwindSafe,
impl<E> Send for Failure<E>
impl<E> Sync for Failure<E>
impl<E> Unpin for Failure<E>
impl<E> UnsafeUnpin for Failure<E>where
Cause<E>: UnsafeUnpin,
impl<E> UnwindSafe for Failure<E>where
Cause<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