#[non_exhaustive]pub enum StandardSelector {
Show 16 variants
Ntia,
Fda,
Cra,
CraPhase1,
Ssdf,
Eo14028,
Cnsa2,
Pqc,
Bsi,
OssSteward,
Eucc,
AiAct,
BsiAi,
Cisa2026,
PciDss,
Fsct,
}Expand description
A compliance standard as selected on the command line or in the config
file. Each variant corresponds to one canonical --standard value; the
historical alias spellings are attached via #[value(alias = ...)] so
clap (and std::str::FromStr, which delegates to the same table)
accepts them everywhere.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Ntia
NTIA Minimum Elements for software transparency
Fda
FDA premarket submission requirements for medical devices
Cra
EU CRA Phase 2 — full application of the regulation (from 11 Dec 2027).
cra selects Phase 2; use cra-phase1 for the 2026 reporting phase.
CraPhase1
EU CRA Phase 1 — Art. 14 reporting obligations (apply from 11 Sep 2026)
Ssdf
NIST SP 800-218 Secure Software Development Framework
Eo14028
Executive Order 14028 Section 4 — software supply chain security
Cnsa2
NSA CNSA 2.0 — Commercial National Security Algorithm Suite 2.0
Pqc
NIST PQC readiness (IR 8547 + FIPS 203/204/205)
Bsi
BSI TR-03183-2 v2.1.0 (German national CRA-aligned SBOM guideline)
OssSteward
CRA Article 24 — open-source software steward profile
Eucc
EUCC Substantial assurance level (Reg. (EU) 2024/482), reference-only
AiAct
EU AI Act (Reg. (EU) 2024/1689) Annex IV documentation readiness
BsiAi
BSI/G7 “SBOM for AI — Minimum Elements” readiness
Cisa2026
CISA 2026 Minimum Elements for an SBOM (v2.1, July 2026; successor to the NTIA 2021 Minimum Elements)
PciDss
PCI DSS v4.0.1 Requirement 6.3.2 software-inventory profile
Fsct
CISA Framing Software Component Transparency, 3rd ed. (2024)
Implementations§
Source§impl StandardSelector
impl StandardSelector
Sourcepub const fn level(self) -> ComplianceLevel
pub const fn level(self) -> ComplianceLevel
The ComplianceLevel this selector maps to.
Sourcepub fn canonical_name(self) -> &'static str
pub fn canonical_name(self) -> &'static str
The canonical CLI spelling (the #[value(name = ...)]).
Sourcepub fn valid_values() -> String
pub fn valid_values() -> String
Comma-separated list of every canonical value, for error messages.
Trait Implementations§
Source§impl Clone for StandardSelector
impl Clone for StandardSelector
Source§fn clone(&self) -> StandardSelector
fn clone(&self) -> StandardSelector
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 StandardSelector
Source§impl Debug for StandardSelector
impl Debug for StandardSelector
Source§impl Display for StandardSelector
impl Display for StandardSelector
impl Eq for StandardSelector
Source§impl FromStr for StandardSelector
impl FromStr for StandardSelector
Source§impl Hash for StandardSelector
impl Hash for StandardSelector
Source§impl PartialEq for StandardSelector
impl PartialEq for StandardSelector
impl StructuralPartialEq for StandardSelector
Source§impl ValueEnum for StandardSelector
impl ValueEnum for StandardSelector
Auto Trait Implementations§
impl Freeze for StandardSelector
impl RefUnwindSafe for StandardSelector
impl Send for StandardSelector
impl Sync for StandardSelector
impl Unpin for StandardSelector
impl UnsafeUnpin for StandardSelector
impl UnwindSafe for StandardSelector
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.