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