pub enum DecryptError<P, V> {
Processing(Error),
Provider {
envelope: Span,
cause: P,
},
Plaintext {
cause: Error,
source: PlaintextSource,
},
Visitor {
cause: V,
source: PlaintextSource,
},
}Expand description
Terminal refusal, preserving the callback cause and its honest source space.
Variants§
Processing(Error)
Original AC/source/current-operation refusal (not plaintext coordinates).
Provider
Selected provider’s unchanged cause at this original envelope.
Fields
§
cause: PUnchanged provider/source/resource cause.
Plaintext
Plaintext syntax/resource refusal in the explicitly marked logical space.
Fields
§
source: PlaintextSourceOriginal encrypted enclosure and coordinate discriminator.
Visitor
Visitor’s unchanged error, never swallowed after successful decryption.
Fields
§
cause: VCaller-controlled error; reader-derived offsets use plaintext space.
§
source: PlaintextSourceSame original enclosure and explicit logical-source context.
Trait Implementations§
Auto Trait Implementations§
impl<P, V> !Freeze for DecryptError<P, V>
impl<P, V> RefUnwindSafe for DecryptError<P, V>where
P: RefUnwindSafe,
V: RefUnwindSafe,
impl<P, V> Send for DecryptError<P, V>
impl<P, V> Sync for DecryptError<P, V>
impl<P, V> Unpin for DecryptError<P, V>
impl<P, V> UnsafeUnpin for DecryptError<P, V>where
P: UnsafeUnpin,
V: UnsafeUnpin,
impl<P, V> UnwindSafe for DecryptError<P, V>where
P: UnwindSafe,
V: 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