pub enum UpdateError {
InvalidPayloadLength,
MaximumLengthExceeded,
Unknown,
}Expand description
Error indicating that updating the digest state failed.
Variants§
InvalidPayloadLength
The length of the provided payload is invalid.
MaximumLengthExceeded
The maximum input length is exceeded.
Unknown
Unknown error.
Trait Implementations§
Source§impl Debug for UpdateError
impl Debug for UpdateError
Source§impl Display for UpdateError
impl Display for UpdateError
Source§impl PartialEq for UpdateError
impl PartialEq for UpdateError
impl StructuralPartialEq for UpdateError
Auto Trait Implementations§
impl Freeze for UpdateError
impl RefUnwindSafe for UpdateError
impl Send for UpdateError
impl Sync for UpdateError
impl Unpin for UpdateError
impl UnwindSafe for UpdateError
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