pub enum AuditStatus {
Pedagogical,
PendingExternalReview,
ProductionReviewed,
}Expand description
The audit/review status carried by each entry in default_registry.
This is a minimal accessor, not a verification mechanism: it exists so
tests (and future callers) can ask “does a production-reviewed backend
exist yet?” without hardcoding backend ids. Today every registered
backend is either AuditStatus::Pedagogical or
AuditStatus::PendingExternalReview — no AuditStatus::ProductionReviewed
entry exists yet. Registering one is itself the claim that external
cryptographic review has happened; see tests/refusal.rs’s standing red
and tests/riscz_verifier_scaffold.rs’s anti-overclaim regression locks,
both of which must keep failing/holding until that review actually lands.
Variants§
Pedagogical
Structural/pedagogical stand-in only — not a production trust claim.
Gated behind the unaudited-pedagogical-proofs feature at
verification time (see [crate::guard_unaudited]).
PendingExternalReview
Integration wired but not yet cryptographically reviewed; not a
production trust claim. Used for backends (e.g.
BackendId::RiscZero) whose envelope shape and verifier seam
exist in-tree, but whose actual verify path has not undergone
external cryptographic review. ProofEnvelope::verify always fails
closed for backends in this status — the seam exists so that
wiring in the audited verifier later is a small, localized change,
not a claim that it is safe to trust today.
ProductionReviewed
A production backend that has undergone cryptographic review and carries its own audit evidence. Exempt from the pedagogical unaudited-refusal gate. No backend holds this status yet — it is introduced here only so the registry has somewhere to record one once external review of a production backend actually lands.
Trait Implementations§
Source§impl Clone for AuditStatus
impl Clone for AuditStatus
Source§fn clone(&self) -> AuditStatus
fn clone(&self) -> AuditStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AuditStatus
Source§impl Debug for AuditStatus
impl Debug for AuditStatus
impl Eq for AuditStatus
Source§impl PartialEq for AuditStatus
impl PartialEq for AuditStatus
impl StructuralPartialEq for AuditStatus
Auto Trait Implementations§
impl Freeze for AuditStatus
impl RefUnwindSafe for AuditStatus
impl Send for AuditStatus
impl Sync for AuditStatus
impl Unpin for AuditStatus
impl UnsafeUnpin for AuditStatus
impl UnwindSafe for AuditStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more