pub enum CryptoErrorKind {
Msg(String),
NoIvPresent,
// some variants omitted
}Expand description
The kind of an error.
Variants§
Implementations§
Source§impl CryptoErrorKind
impl CryptoErrorKind
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
A string describing the error kind.
Trait Implementations§
Source§impl Debug for CryptoErrorKind
impl Debug for CryptoErrorKind
Source§impl Display for CryptoErrorKind
impl Display for CryptoErrorKind
Source§impl<'a> From<&'a str> for CryptoErrorKind
impl<'a> From<&'a str> for CryptoErrorKind
Source§impl From<CryptoError> for CryptoErrorKind
impl From<CryptoError> for CryptoErrorKind
Source§fn from(e: CryptoError) -> Self
fn from(e: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<CryptoErrorKind> for CryptoError
impl From<CryptoErrorKind> for CryptoError
Source§fn from(e: CryptoErrorKind) -> Self
fn from(e: CryptoErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CryptoErrorKind
impl RefUnwindSafe for CryptoErrorKind
impl Send for CryptoErrorKind
impl Sync for CryptoErrorKind
impl Unpin for CryptoErrorKind
impl UnwindSafe for CryptoErrorKind
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