#[non_exhaustive]pub enum SecurityPosture {
ScalarOnly,
SimdCandidateScalarActive,
Accelerated,
}Expand description
Security posture for the active runtime backend.
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.
ScalarOnly
No accelerated backend is active.
SimdCandidateScalarActive
SIMD support may be detected, but execution still uses scalar.
Accelerated
A SIMD backend is active.
Implementations§
Trait Implementations§
Source§impl Clone for SecurityPosture
impl Clone for SecurityPosture
Source§fn clone(&self) -> SecurityPosture
fn clone(&self) -> SecurityPosture
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 SecurityPosture
impl Debug for SecurityPosture
Source§impl Display for SecurityPosture
impl Display for SecurityPosture
Source§impl PartialEq for SecurityPosture
impl PartialEq for SecurityPosture
Source§fn eq(&self, other: &SecurityPosture) -> bool
fn eq(&self, other: &SecurityPosture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SecurityPosture
impl Eq for SecurityPosture
impl StructuralPartialEq for SecurityPosture
Auto Trait Implementations§
impl Freeze for SecurityPosture
impl RefUnwindSafe for SecurityPosture
impl Send for SecurityPosture
impl Sync for SecurityPosture
impl Unpin for SecurityPosture
impl UnsafeUnpin for SecurityPosture
impl UnwindSafe for SecurityPosture
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