#[non_exhaustive]pub enum AssuranceError {
StaleGeneration,
HighAssuranceBuildRequired,
MismatchedAttestation,
InsufficientPosture,
ProviderUnavailable,
}Expand description
Runtime assurance failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StaleGeneration
A relevant context generation changed.
HighAssuranceBuildRequired
The explicit high-assurance build policy is absent.
MismatchedAttestation
Evidence names another target or provider instance.
InsufficientPosture
Wipe or speculation posture is insufficient.
Provider health or generation is stale.
Trait Implementations§
Source§impl Clone for AssuranceError
impl Clone for AssuranceError
Source§fn clone(&self) -> AssuranceError
fn clone(&self) -> AssuranceError
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 AssuranceError
Source§impl Debug for AssuranceError
impl Debug for AssuranceError
Source§impl Display for AssuranceError
impl Display for AssuranceError
impl Eq for AssuranceError
Source§impl Error for AssuranceError
Available on crate feature std only.
impl Error for AssuranceError
Available on crate feature
std only.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 Hash for AssuranceError
impl Hash for AssuranceError
Source§impl PartialEq for AssuranceError
impl PartialEq for AssuranceError
impl StructuralPartialEq for AssuranceError
Auto Trait Implementations§
impl Freeze for AssuranceError
impl RefUnwindSafe for AssuranceError
impl Send for AssuranceError
impl Sync for AssuranceError
impl Unpin for AssuranceError
impl UnsafeUnpin for AssuranceError
impl UnwindSafe for AssuranceError
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