pub enum KeyHasherError {
SecretTooShort {
actual: usize,
minimum: usize,
},
}Expand description
An invalid subject-key hasher configuration.
Variants§
SecretTooShort
The supplied secret was shorter than the security minimum.
Trait Implementations§
Source§impl Clone for KeyHasherError
impl Clone for KeyHasherError
Source§fn clone(&self) -> KeyHasherError
fn clone(&self) -> KeyHasherError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeyHasherError
Source§impl Debug for KeyHasherError
impl Debug for KeyHasherError
Source§impl Display for KeyHasherError
impl Display for KeyHasherError
impl Eq for KeyHasherError
Source§impl Error for KeyHasherError
impl Error for KeyHasherError
1.30.0 · 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 PartialEq for KeyHasherError
impl PartialEq for KeyHasherError
impl StructuralPartialEq for KeyHasherError
Auto Trait Implementations§
impl Freeze for KeyHasherError
impl RefUnwindSafe for KeyHasherError
impl Send for KeyHasherError
impl Sync for KeyHasherError
impl Unpin for KeyHasherError
impl UnsafeUnpin for KeyHasherError
impl UnwindSafe for KeyHasherError
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