pub enum ClassCheck {
VendorHashCoverage,
EolComponents,
Cycles,
DocReference,
EuccReference,
Psirt,
ModuleAttestation,
}Expand description
Calibration check identifiers for ComplianceChecker::class_severity().
Each variant corresponds to a row in the CRA-P3.2 calibration table —
the severity that a given finding should produce given the product
class (Default → Critical) and conformity-assessment route. None
from class_severity() means “this check is not applicable for the
given class” (typically Default doesn’t carry EUCC/attestation
expectations).
Variants§
VendorHashCoverage
Vendor-supplied hash coverage below threshold ([PRE-7-RQ-07-RE]).
EolComponents
EOL component present in SBOM.
Cycles
Dependency cycles detected.
DocReference
Annex VII Declaration-of-Conformity reference missing.
EuccReference
EUCC (Common Criteria) reference missing.
Psirt
PSIRT URL / 24h / 72h / ENISA channel missing (Art. 14).
ModuleAttestation
Conformity-assessment-module attestation reference missing (only meaningful on Module B+C / H / EUCC routes).
Trait Implementations§
Source§impl Clone for ClassCheck
impl Clone for ClassCheck
Source§fn clone(&self) -> ClassCheck
fn clone(&self) -> ClassCheck
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 ClassCheck
Source§impl Debug for ClassCheck
impl Debug for ClassCheck
impl Eq for ClassCheck
Source§impl Hash for ClassCheck
impl Hash for ClassCheck
Source§impl PartialEq for ClassCheck
impl PartialEq for ClassCheck
Source§fn eq(&self, other: &ClassCheck) -> bool
fn eq(&self, other: &ClassCheck) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassCheck
Auto Trait Implementations§
impl Freeze for ClassCheck
impl RefUnwindSafe for ClassCheck
impl Send for ClassCheck
impl Sync for ClassCheck
impl Unpin for ClassCheck
impl UnsafeUnpin for ClassCheck
impl UnwindSafe for ClassCheck
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 more