pub enum DecipherError {
AES(AESError),
PKCS7(UnpadError),
}Expand description
Possible decipher errors
Variants§
AES(AESError)
Returned on AES-specific errors
PKCS7(UnpadError)
Returned on PKCS7-specific padding errors
Trait Implementations§
Source§impl Debug for DecipherError
impl Debug for DecipherError
Source§impl Display for DecipherError
impl Display for DecipherError
Source§impl Error for DecipherError
impl Error for DecipherError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · 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
Source§impl PartialEq for DecipherError
impl PartialEq for DecipherError
Source§fn eq(&self, other: &DecipherError) -> bool
fn eq(&self, other: &DecipherError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecipherError
Auto Trait Implementations§
impl Freeze for DecipherError
impl RefUnwindSafe for DecipherError
impl Send for DecipherError
impl Sync for DecipherError
impl Unpin for DecipherError
impl UnsafeUnpin for DecipherError
impl UnwindSafe for DecipherError
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