pub enum EscrowError {
Encapsulate(String),
AeadEncrypt(String),
Decapsulate(String),
ThresholdNotMet {
have: usize,
need: u32,
},
InvalidBlob(String),
}Expand description
Errors during escrow operations.
Variants§
Encapsulate(String)
Encapsulation failure.
AeadEncrypt(String)
AEAD encryption failure.
Decapsulate(String)
Decapsulation failure (threshold decryption ceremony failed).
ThresholdNotMet
Threshold not met.
InvalidBlob(String)
Invalid blob.
Trait Implementations§
Source§impl Debug for EscrowError
impl Debug for EscrowError
Source§impl Display for EscrowError
impl Display for EscrowError
Source§impl Error for EscrowError
impl Error for EscrowError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for EscrowError
impl RefUnwindSafe for EscrowError
impl Send for EscrowError
impl Sync for EscrowError
impl Unpin for EscrowError
impl UnsafeUnpin for EscrowError
impl UnwindSafe for EscrowError
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