pub enum HashError {
GenericError(&'static str),
InvalidLength(&'static str),
InvalidState(&'static str),
InvalidInput(&'static str),
KeyMaterialError(KeyMaterialError),
}Variants§
GenericError(&'static str)
InvalidLength(&'static str)
InvalidState(&'static str)
InvalidInput(&'static str)
KeyMaterialError(KeyMaterialError)
Trait Implementations§
Source§impl From<KeyMaterialError> for HashError
impl From<KeyMaterialError> for HashError
Source§fn from(e: KeyMaterialError) -> HashError
fn from(e: KeyMaterialError) -> HashError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HashError
impl RefUnwindSafe for HashError
impl Send for HashError
impl Sync for HashError
impl Unpin for HashError
impl UnwindSafe for HashError
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