pub enum Failure {
Absent,
ObjectType,
OtherObject,
Algorithm,
Hash,
KeyEncoding,
Differs,
}Expand description
A completed semantic refusal; processing and callback failures use Result.
Variants§
Absent
No objectDigestInfo Holder alternative was written.
ObjectType
Written object choice differs from the caller’s explicit object.
OtherObject
otherObjectTypes or otherObjectTypeID is forbidden by this profile.
Algorithm
Known digest algorithm has invalid parameters.
Hash
Digest bits have padding or the wrong fixed algorithm width.
KeyEncoding
Provider rejected the key’s algorithm-specific representation.
Differs
Completed digest comparison found different bytes.
Trait Implementations§
impl Copy for Failure
impl Eq for Failure
impl StructuralPartialEq for Failure
Auto Trait Implementations§
impl Freeze for Failure
impl RefUnwindSafe for Failure
impl Send for Failure
impl Sync for Failure
impl Unpin for Failure
impl UnsafeUnpin for Failure
impl UnwindSafe for Failure
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