pub enum NormativeStrength {
Must,
MustNot,
Should,
May,
}Expand description
How strongly the RFC mandates the expected server behavior.
Directly affects confidence calibration: a Must-level differential is stronger evidence than
a May-level one.
Variants§
Must
RFC MUST: server is required to behave this way.
MustNot
RFC MUST NOT: violation of this is definitive evidence.
Should
RFC SHOULD: server is expected but not required to comply.
May
RFC MAY: server is permitted but not expected to exhibit this behavior.
Trait Implementations§
Source§impl Clone for NormativeStrength
impl Clone for NormativeStrength
Source§fn clone(&self) -> NormativeStrength
fn clone(&self) -> NormativeStrength
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 NormativeStrength
impl Debug for NormativeStrength
Source§impl<'de> Deserialize<'de> for NormativeStrength
impl<'de> Deserialize<'de> for NormativeStrength
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NormativeStrength
impl Display for NormativeStrength
Source§impl Hash for NormativeStrength
impl Hash for NormativeStrength
Source§impl PartialEq for NormativeStrength
impl PartialEq for NormativeStrength
Source§fn eq(&self, other: &NormativeStrength) -> bool
fn eq(&self, other: &NormativeStrength) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NormativeStrength
impl Serialize for NormativeStrength
impl Copy for NormativeStrength
impl Eq for NormativeStrength
impl StructuralPartialEq for NormativeStrength
Auto Trait Implementations§
impl Freeze for NormativeStrength
impl RefUnwindSafe for NormativeStrength
impl Send for NormativeStrength
impl Sync for NormativeStrength
impl Unpin for NormativeStrength
impl UnsafeUnpin for NormativeStrength
impl UnwindSafe for NormativeStrength
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