pub enum StapleStatus {
NoStaple,
Unparseable,
SignerNotTrusted,
InclusionInvalid,
Verified,
}Expand description
Why a presentation’s staple did or didn’t verify. Core stays free of CLI-specific text; the caller formats a human message from this.
Variants§
NoStaple
No staple included in the presentation.
Unparseable
The checkpoint or the inclusion proof did not parse.
SignerNotTrusted
Checkpoint signer is not a pinned hub_checkpoint root, or the
checkpoint signature is invalid.
InclusionInvalid
Checkpoint verified, but this card’s inclusion proof is invalid.
Verified
Fully verified: checkpoint signature + card inclusion.
Trait Implementations§
Source§impl Debug for StapleStatus
impl Debug for StapleStatus
impl Eq for StapleStatus
Source§impl PartialEq for StapleStatus
impl PartialEq for StapleStatus
impl StructuralPartialEq for StapleStatus
Auto Trait Implementations§
impl Freeze for StapleStatus
impl RefUnwindSafe for StapleStatus
impl Send for StapleStatus
impl Sync for StapleStatus
impl Unpin for StapleStatus
impl UnsafeUnpin for StapleStatus
impl UnwindSafe for StapleStatus
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.