Enum massa_cipher::error::CipherError
source · pub enum CipherError {
EncryptionError(String),
DecryptionError(String),
Utf8Error(Utf8Error),
}
Expand description
Cipher error
Variants§
EncryptionError(String)
Encryption error: {0}
DecryptionError(String)
Decryption error: {0}
Utf8Error(Utf8Error)
Utf8
error: {0}
Trait Implementations§
source§impl Debug for CipherError
impl Debug for CipherError
source§impl Display for CipherError
impl Display for CipherError
source§impl Error for CipherError
impl Error for CipherError
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()
Auto Trait Implementations§
impl Freeze for CipherError
impl RefUnwindSafe for CipherError
impl Send for CipherError
impl Sync for CipherError
impl Unpin for CipherError
impl UnwindSafe for CipherError
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