pub enum ServiceChainFailure {
ComponentNotFound,
MissingAttestation,
InvalidAttestation,
KeyMismatch {
expected: String,
actual: String,
},
Other(String),
}Expand description
Reasons a service chain verification can fail
Variants§
ComponentNotFound
Component not found in service chain
MissingAttestation
Attestation missing for component
InvalidAttestation
Attestation signature invalid
KeyMismatch
Component key mismatch
Other(String)
Other failure reason
Trait Implementations§
Source§impl Clone for ServiceChainFailure
impl Clone for ServiceChainFailure
Source§fn clone(&self) -> ServiceChainFailure
fn clone(&self) -> ServiceChainFailure
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 ServiceChainFailure
impl Debug for ServiceChainFailure
Auto Trait Implementations§
impl Freeze for ServiceChainFailure
impl RefUnwindSafe for ServiceChainFailure
impl Send for ServiceChainFailure
impl Sync for ServiceChainFailure
impl Unpin for ServiceChainFailure
impl UnwindSafe for ServiceChainFailure
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