pub enum KdfError {
OutputTooLong,
Bug(Bug),
}Expand description
An error from a Kdf.
Variants§
OutputTooLong
The requested output from a KDF exceeded
Kdf::MAX_OUTPUT.
Bug(Bug)
An internal bug was discovered.
Trait Implementations§
Source§impl Error for KdfError
impl Error for KdfError
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()
impl Eq for KdfError
impl StructuralPartialEq for KdfError
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