pub struct BackendSnapshot {
pub active: &'static str,
pub candidate: &'static str,
pub candidate_required_cpu_features: &'static [&'static str],
pub simd_feature_enabled: bool,
pub accelerated_backend_active: bool,
pub unsafe_boundary_enforced: bool,
pub security_posture: &'static str,
}Expand description
Compact structured backend snapshot for logging and policy evidence.
Fields§
§active: &'static strStable active backend identifier.
candidate: &'static strStable detected candidate identifier.
candidate_required_cpu_features: &'static [&'static str]CPU features required by the detected candidate.
simd_feature_enabled: boolWhether the simd feature is enabled in this build.
accelerated_backend_active: boolWhether an accelerated SIMD backend is active.
unsafe_boundary_enforced: boolWhether unsafe code is confined to the dedicated SIMD boundary.
security_posture: &'static strStable security posture identifier.
Trait Implementations§
Source§impl Clone for BackendSnapshot
impl Clone for BackendSnapshot
Source§fn clone(&self) -> BackendSnapshot
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackendSnapshot
impl Debug for BackendSnapshot
Source§impl PartialEq for BackendSnapshot
impl PartialEq for BackendSnapshot
Source§fn eq(&self, other: &BackendSnapshot) -> bool
fn eq(&self, other: &BackendSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BackendSnapshot
impl Eq for BackendSnapshot
impl StructuralPartialEq for BackendSnapshot
Auto Trait Implementations§
impl Freeze for BackendSnapshot
impl RefUnwindSafe for BackendSnapshot
impl Send for BackendSnapshot
impl Sync for BackendSnapshot
impl Unpin for BackendSnapshot
impl UnsafeUnpin for BackendSnapshot
impl UnwindSafe for BackendSnapshot
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