pub enum DecryptionError {
ChaChaError,
EccError(DecodeError),
ParseKeyError(ParseKeyError),
PsDeflateError(PsDeflateError),
}
Variants§
Trait Implementations§
Source§impl Clone for DecryptionError
impl Clone for DecryptionError
Source§fn clone(&self) -> DecryptionError
fn clone(&self) -> DecryptionError
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 DecryptionError
impl Debug for DecryptionError
Source§impl Display for DecryptionError
impl Display for DecryptionError
Source§impl Error for DecryptionError
impl Error for DecryptionError
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<DecodeError> for DecryptionError
impl From<DecodeError> for DecryptionError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<DecryptionError> for PsCypherError
impl From<DecryptionError> for PsCypherError
Source§fn from(source: DecryptionError) -> Self
fn from(source: DecryptionError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for DecryptionError
impl From<Error> for DecryptionError
Source§impl From<ParseKeyError> for DecryptionError
impl From<ParseKeyError> for DecryptionError
Source§fn from(source: ParseKeyError) -> Self
fn from(source: ParseKeyError) -> Self
Converts to this type from the input type.
Source§impl From<PsDeflateError> for DecryptionError
impl From<PsDeflateError> for DecryptionError
Source§fn from(source: PsDeflateError) -> Self
fn from(source: PsDeflateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecryptionError
impl RefUnwindSafe for DecryptionError
impl Send for DecryptionError
impl Sync for DecryptionError
impl Unpin for DecryptionError
impl UnwindSafe for DecryptionError
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