Skip to main content

BackendSnapshot

Struct BackendSnapshot 

Source
pub struct BackendSnapshot {
Show 16 fields pub active: &'static str, pub accelerated_backend_active: bool, pub security_posture: &'static str, pub encode_backend: OperationBackendSnapshot, pub strict_decode_backend: OperationBackendSnapshot, pub secret_decode_backend: OperationBackendSnapshot, pub candidate: &'static str, pub candidate_detection_mode: &'static str, pub candidate_required_cpu_features: &'static [&'static str], pub simd_feature_enabled: bool, pub ordinary_acceleration_active: bool, pub unsafe_boundary_enforced: bool, pub wasm_artifact_posture: &'static str, pub wasm_runtime_posture: &'static str, pub wipe_posture: &'static str, pub ct_gate_posture: &'static str,
}
Expand description

Compact structured backend snapshot for logging and policy evidence.

Fields§

§active: &'static str

Stable compatibility alias for the ordinary encode backend.

§accelerated_backend_active: bool

Compatibility alias reporting whether ordinary encode is accelerated.

§security_posture: &'static str

Stable compatibility posture for ordinary encode and its candidate.

§encode_backend: OperationBackendSnapshot

Stable ordinary encode report.

§strict_decode_backend: OperationBackendSnapshot

Stable ordinary strict-decode report.

§secret_decode_backend: OperationBackendSnapshot

Stable secret decode report.

§candidate: &'static str

Stable detected candidate identifier.

§candidate_detection_mode: &'static str

Stable SIMD candidate detection-mode identifier.

§candidate_required_cpu_features: &'static [&'static str]

CPU features required by the detected candidate.

§simd_feature_enabled: bool

Whether the simd feature is enabled in this build.

§ordinary_acceleration_active: bool

Whether either ordinary operation selects acceleration.

§unsafe_boundary_enforced: bool

Whether this build keeps the high-assurance scalar unsafe boundary.

This is false for simd builds even while execution remains scalar-only, because those builds include additional private prototype boundaries.

§wasm_artifact_posture: &'static str

Stable Wasm artifact posture identifier.

§wasm_runtime_posture: &'static str

Stable Wasm host-runtime posture identifier.

§wipe_posture: &'static str

Stable wipe-barrier posture identifier.

§ct_gate_posture: &'static str

Stable constant-time result-gate barrier posture identifier.

Trait Implementations§

Source§

impl Clone for BackendSnapshot

Source§

fn clone(&self) -> BackendSnapshot

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for BackendSnapshot

Source§

impl Debug for BackendSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for BackendSnapshot

Source§

impl PartialEq for BackendSnapshot

Source§

fn eq(&self, other: &BackendSnapshot) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for BackendSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.