pub enum ConformanceLevel {
MustPass,
ShouldPass,
Informational,
}Expand description
Conformance level declared by a vector. Mirrors NIST’s
MUST/SHOULD/INFORMATIONAL classification: a MustPass failure is a
hard error; a ShouldPass failure is a warning (the scheme is
expected to comply but the failure is not disqualifying on its
own); Informational failures never count against the candidate.
Wire form is the lowercased tag in the vector’s [test] block:
must_pass, should_pass, informational. Defaults to
MustPass when omitted so existing vectors keep their strict
semantics.
Variants§
MustPass
The candidate MUST pass this vector. A failure is a hard error and disqualifies the submission for this profile.
ShouldPass
The candidate SHOULD pass this vector. A failure is recorded as a warning; NIST may tolerate a bounded number of warnings.
Informational
Informational only. The result is reported but never gates the candidate.
Implementations§
Trait Implementations§
Source§impl Clone for ConformanceLevel
impl Clone for ConformanceLevel
Source§fn clone(&self) -> ConformanceLevel
fn clone(&self) -> ConformanceLevel
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 ConformanceLevel
Source§impl Debug for ConformanceLevel
impl Debug for ConformanceLevel
Source§impl Default for ConformanceLevel
impl Default for ConformanceLevel
Source§fn default() -> ConformanceLevel
fn default() -> ConformanceLevel
Source§impl<'de> Deserialize<'de> for ConformanceLevel
impl<'de> Deserialize<'de> for ConformanceLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ConformanceLevel
Source§impl PartialEq for ConformanceLevel
impl PartialEq for ConformanceLevel
Source§fn eq(&self, other: &ConformanceLevel) -> bool
fn eq(&self, other: &ConformanceLevel) -> bool
self and other values to be equal, and is used by ==.