pub enum AttestationTrustError {
InvalidWorkloadIdentity(String),
StaleEvidence {
now: u64,
issued_at: u64,
expires_at: u64,
},
EvidenceTooOld {
rule: String,
max_age_seconds: u64,
actual_age_seconds: u64,
},
MissingAttestationType {
rule: String,
},
DisallowedAttestationType {
rule: String,
actual: String,
},
UnsupportedEvidence {
schema: String,
},
MissingAssertion {
rule: String,
assertion: String,
},
AssertionMismatch {
rule: String,
assertion: String,
expected: String,
actual: String,
},
UntrustedEvidence {
verifier: String,
schema: String,
},
}Variants§
InvalidWorkloadIdentity(String)
StaleEvidence
EvidenceTooOld
MissingAttestationType
DisallowedAttestationType
UnsupportedEvidence
MissingAssertion
AssertionMismatch
UntrustedEvidence
Trait Implementations§
Source§impl Clone for AttestationTrustError
impl Clone for AttestationTrustError
Source§fn clone(&self) -> AttestationTrustError
fn clone(&self) -> AttestationTrustError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttestationTrustError
impl Debug for AttestationTrustError
Source§impl Display for AttestationTrustError
impl Display for AttestationTrustError
Source§impl Error for AttestationTrustError
impl Error for AttestationTrustError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AttestationTrustError
impl PartialEq for AttestationTrustError
impl Eq for AttestationTrustError
impl StructuralPartialEq for AttestationTrustError
Auto Trait Implementations§
impl Freeze for AttestationTrustError
impl RefUnwindSafe for AttestationTrustError
impl Send for AttestationTrustError
impl Sync for AttestationTrustError
impl Unpin for AttestationTrustError
impl UnsafeUnpin for AttestationTrustError
impl UnwindSafe for AttestationTrustError
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