pub enum DigestBinding {
Matches,
Differs,
Malformed(Error),
}Expand description
Result of comparing a declared imprint with complete typed digest bytes.
Variants§
Matches
Admitted bytes agree under the selected provider’s comparison contract.
Differs
Admitted, correctly sized bytes differ.
Malformed(Error)
The declared value has an impossible width; no comparison callback ran.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DigestBinding
impl RefUnwindSafe for DigestBinding
impl Send for DigestBinding
impl Sync for DigestBinding
impl Unpin for DigestBinding
impl UnsafeUnpin for DigestBinding
impl UnwindSafe for DigestBinding
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