pub enum GenerateHashError {
GenerateDerivedKeyFailed,
DecodingFailed,
EncryptionFailed,
}
Variants§
Trait Implementations§
Source§impl Clone for GenerateHashError
impl Clone for GenerateHashError
Source§fn clone(&self) -> GenerateHashError
fn clone(&self) -> GenerateHashError
Returns a copy 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 GenerateHashError
impl Debug for GenerateHashError
Source§impl From<DecodeError> for GenerateHashError
impl From<DecodeError> for GenerateHashError
Source§fn from(_: DecodeError) -> Self
fn from(_: DecodeError) -> Self
Converts to this type from the input type.
Source§impl Ord for GenerateHashError
impl Ord for GenerateHashError
Source§fn cmp(&self, other: &GenerateHashError) -> Ordering
fn cmp(&self, other: &GenerateHashError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GenerateHashError
impl PartialEq for GenerateHashError
Source§impl PartialOrd for GenerateHashError
impl PartialOrd for GenerateHashError
impl Eq for GenerateHashError
impl StructuralPartialEq for GenerateHashError
Auto Trait Implementations§
impl Freeze for GenerateHashError
impl RefUnwindSafe for GenerateHashError
impl Send for GenerateHashError
impl Sync for GenerateHashError
impl Unpin for GenerateHashError
impl UnwindSafe for GenerateHashError
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