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