pub enum RequestAgreement {
Matches,
AlgorithmDiffers,
HashDiffers,
Unusable {
operand: ImprintOperand,
reason: ImprintAgreement,
},
}Expand description
Complete imprint agreement, independently of other request checks.
Variants§
Matches
Full selected-provider identities and logical declared digest bytes agree.
AlgorithmDiffers
Selected-provider algorithm/parameter/output identities disagree.
HashDiffers
Complete algorithm identity agrees but declared digest bytes disagree.
Unusable
An operand cannot establish a conforming supported imprint declaration.
Fields
§
operand: ImprintOperandOriginal source whose declaration cannot be compared successfully.
§
reason: ImprintAgreementMalformed encoding/algorithm/width or unsupported mechanism.
Trait Implementations§
Source§impl Clone for RequestAgreement
impl Clone for RequestAgreement
impl Copy for RequestAgreement
Source§impl Debug for RequestAgreement
impl Debug for RequestAgreement
impl Eq for RequestAgreement
Source§impl PartialEq for RequestAgreement
impl PartialEq for RequestAgreement
impl StructuralPartialEq for RequestAgreement
Auto Trait Implementations§
impl Freeze for RequestAgreement
impl RefUnwindSafe for RequestAgreement
impl Send for RequestAgreement
impl Sync for RequestAgreement
impl Unpin for RequestAgreement
impl UnsafeUnpin for RequestAgreement
impl UnwindSafe for RequestAgreement
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