pub enum KeyManagerError {
Rng(RngError),
XEdDSA(XEdDSAError),
X25519(X25519Error),
UnknownOneTimeSecret(OneTimePreKeyId),
}
Variants§
Trait Implementations§
Source§impl Debug for KeyManagerError
impl Debug for KeyManagerError
Source§impl Display for KeyManagerError
impl Display for KeyManagerError
Source§impl Error for KeyManagerError
impl Error for KeyManagerError
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<RngError> for KeyManagerError
impl From<RngError> for KeyManagerError
Source§impl From<X25519Error> for KeyManagerError
impl From<X25519Error> for KeyManagerError
Source§fn from(source: X25519Error) -> Self
fn from(source: X25519Error) -> Self
Converts to this type from the input type.
Source§impl From<XEdDSAError> for KeyManagerError
impl From<XEdDSAError> for KeyManagerError
Source§fn from(source: XEdDSAError) -> Self
fn from(source: XEdDSAError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyManagerError
impl RefUnwindSafe for KeyManagerError
impl Send for KeyManagerError
impl Sync for KeyManagerError
impl Unpin for KeyManagerError
impl UnwindSafe for KeyManagerError
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