pub enum ProvenanceStatus {
Verified,
Unverified,
None,
}Expand description
The three-state SLSA/attestation provenance verdict for one resolved version (FR-004).
Self::Verified and Self::Unverified are both only reachable when the
version-level query itself succeeded, so a caller can distinguish “we checked and
found nothing” from “we didn’t check” via Option<ProvenanceStatus> at the
SupplyChainTrustSignal level.
Variants§
Verified
At least one slsaProvenances[]/attestations[] entry has verified == true.
Unverified
Both arrays are non-empty, but no entry has verified == true.
None
Both arrays are empty.
Trait Implementations§
Source§impl Clone for ProvenanceStatus
impl Clone for ProvenanceStatus
Source§fn clone(&self) -> ProvenanceStatus
fn clone(&self) -> ProvenanceStatus
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 ProvenanceStatus
Source§impl Debug for ProvenanceStatus
impl Debug for ProvenanceStatus
impl Eq for ProvenanceStatus
Source§impl PartialEq for ProvenanceStatus
impl PartialEq for ProvenanceStatus
Source§fn eq(&self, other: &ProvenanceStatus) -> bool
fn eq(&self, other: &ProvenanceStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProvenanceStatus
Auto Trait Implementations§
impl Freeze for ProvenanceStatus
impl RefUnwindSafe for ProvenanceStatus
impl Send for ProvenanceStatus
impl Sync for ProvenanceStatus
impl Unpin for ProvenanceStatus
impl UnsafeUnpin for ProvenanceStatus
impl UnwindSafe for ProvenanceStatus
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.