pub enum CipherDecryptionStringError {
Other(CipherDecryptionError),
InvalidUtf8(FromUtf8Error),
}Expand description
Error that can occur while decrypting a cipher string.
Variants§
Trait Implementations§
Source§impl Clone for CipherDecryptionStringError
impl Clone for CipherDecryptionStringError
Source§fn clone(&self) -> CipherDecryptionStringError
fn clone(&self) -> CipherDecryptionStringError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CipherDecryptionStringError
impl Debug for CipherDecryptionStringError
Source§impl Error for CipherDecryptionStringError
impl Error for CipherDecryptionStringError
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<CipherDecryptionError> for CipherDecryptionStringError
impl From<CipherDecryptionError> for CipherDecryptionStringError
Source§fn from(source: CipherDecryptionError) -> Self
fn from(source: CipherDecryptionError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for CipherDecryptionStringError
impl From<FromUtf8Error> for CipherDecryptionStringError
Source§fn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CipherDecryptionStringError
impl RefUnwindSafe for CipherDecryptionStringError
impl Send for CipherDecryptionStringError
impl Sync for CipherDecryptionStringError
impl Unpin for CipherDecryptionStringError
impl UnwindSafe for CipherDecryptionStringError
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