pub enum HashError {
InvalidDigestLength,
InvalidPayloadLength,
Unknown,
}Expand description
Error indicating that hashing failed.
Variants§
InvalidDigestLength
The length of the provided digest buffer is invalid.
InvalidPayloadLength
The length of the provided payload is invalid.
Unknown
Indicates an unknown error.
Trait Implementations§
impl StructuralPartialEq for HashError
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