pub enum X3dhError {
Rng(RngError),
Aead(AeadError),
Hkdf(HkdfError),
X25519(X25519Error),
KeyBundle(KeyBundleError),
}Variants§
Trait Implementations§
Source§impl Error for X3dhError
impl Error for X3dhError
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()
Source§impl From<KeyBundleError> for X3dhError
impl From<KeyBundleError> for X3dhError
Source§fn from(source: KeyBundleError) -> Self
fn from(source: KeyBundleError) -> Self
Converts to this type from the input type.
Source§impl From<X25519Error> for X3dhError
impl From<X25519Error> for X3dhError
Source§fn from(source: X25519Error) -> Self
fn from(source: X25519Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for X3dhError
impl RefUnwindSafe for X3dhError
impl Send for X3dhError
impl Sync for X3dhError
impl Unpin for X3dhError
impl UnwindSafe for X3dhError
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