Enum crypt_guard::keychain::CryptError
source · pub enum CryptError {
Show 20 variants
IOError,
MessageExtractionError,
InvalidMessageFormat,
HexError(FromHexError),
EncapsulationError,
DecapsulationError,
WriteError,
HmacVerificationError,
HmacShortData,
HmacKeyErr,
HexDecodingError(String),
UniqueFilenameFailed,
MissingSecretKey,
MissingPublicKey,
MissingCiphertext,
MissingSharedSecret,
MissingData,
InvalidParameters,
PathError,
Utf8Error,
}Variants§
IOError
MessageExtractionError
InvalidMessageFormat
HexError(FromHexError)
EncapsulationError
DecapsulationError
WriteError
HmacVerificationError
HmacShortData
HmacKeyErr
HexDecodingError(String)
UniqueFilenameFailed
MissingSecretKey
MissingPublicKey
MissingCiphertext
MissingData
InvalidParameters
PathError
Utf8Error
Trait Implementations§
source§impl Debug for CryptError
impl Debug for CryptError
source§impl Display for CryptError
impl Display for CryptError
source§impl Error for CryptError
impl Error for CryptError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Error> for CryptError
impl From<Error> for CryptError
source§impl From<FromHexError> for CryptError
impl From<FromHexError> for CryptError
source§fn from(error: FromHexError) -> Self
fn from(error: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CryptError
impl Send for CryptError
impl Sync for CryptError
impl Unpin for CryptError
impl UnwindSafe for CryptError
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