pub enum EncryptError {
Failed,
}Expand description
Encrypt failure — single uninformative variant per the project’s failure-mode invariant.
Variants§
Failed
The retry budget was exhausted, or the recipient public key is the identity point. Effectively unreachable with a uniform CSPRNG and a real public key.
Trait Implementations§
Source§impl Clone for EncryptError
impl Clone for EncryptError
Source§fn clone(&self) -> EncryptError
fn clone(&self) -> EncryptError
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 EncryptError
impl Debug for EncryptError
Source§impl PartialEq for EncryptError
impl PartialEq for EncryptError
Source§fn eq(&self, other: &EncryptError) -> bool
fn eq(&self, other: &EncryptError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EncryptError
impl Eq for EncryptError
impl StructuralPartialEq for EncryptError
Auto Trait Implementations§
impl Freeze for EncryptError
impl RefUnwindSafe for EncryptError
impl Send for EncryptError
impl Sync for EncryptError
impl Unpin for EncryptError
impl UnsafeUnpin for EncryptError
impl UnwindSafe for EncryptError
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