pub enum DecryptError {
Failed,
}Expand description
Decrypt failure — single uninformative variant per the project’s failure-mode invariant.
Variants§
Failed
Catch-all decryption failure: malformed DER, off-curve C1,
identity C1, all-zero KDF, or MAC mismatch — never
distinguished.
Trait Implementations§
Source§impl Clone for DecryptError
impl Clone for DecryptError
Source§fn clone(&self) -> DecryptError
fn clone(&self) -> DecryptError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecryptError
impl Debug for DecryptError
Source§impl PartialEq for DecryptError
impl PartialEq for DecryptError
Source§fn eq(&self, other: &DecryptError) -> bool
fn eq(&self, other: &DecryptError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DecryptError
impl Eq for DecryptError
impl StructuralPartialEq for DecryptError
Auto Trait Implementations§
impl Freeze for DecryptError
impl RefUnwindSafe for DecryptError
impl Send for DecryptError
impl Sync for DecryptError
impl Unpin for DecryptError
impl UnsafeUnpin for DecryptError
impl UnwindSafe for DecryptError
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