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