pub enum ShallowVerdict {
Verified,
Unsigned,
Failed,
}Expand description
Outcome of a shallow check.
Variants§
Verified
Signature verifies under the object’s signing domain.
Unsigned
All-zero signature: the unsigned convention (SPEC-SIGNING §4a). Report as “unsigned”, never as tampered.
Failed
A non-zero signature that does not verify.
Trait Implementations§
Source§impl Clone for ShallowVerdict
impl Clone for ShallowVerdict
Source§fn clone(&self) -> ShallowVerdict
fn clone(&self) -> ShallowVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShallowVerdict
Source§impl Debug for ShallowVerdict
impl Debug for ShallowVerdict
impl Eq for ShallowVerdict
Source§impl PartialEq for ShallowVerdict
impl PartialEq for ShallowVerdict
Source§fn eq(&self, other: &ShallowVerdict) -> bool
fn eq(&self, other: &ShallowVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShallowVerdict
Auto Trait Implementations§
impl Freeze for ShallowVerdict
impl RefUnwindSafe for ShallowVerdict
impl Send for ShallowVerdict
impl Sync for ShallowVerdict
impl Unpin for ShallowVerdict
impl UnsafeUnpin for ShallowVerdict
impl UnwindSafe for ShallowVerdict
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