#[repr(u8)]pub enum ReqLevel {
Must = 0,
Should = 1,
May = 2,
}Expand description
RFC 2119 requirement level for a requirement.
See https://www.ietf.org/rfc/rfc2119.txt for the specification.
Variants§
Must = 0
Absolute requirement (MUST, SHALL, REQUIRED)
Should = 1
Recommended but not required (SHOULD, RECOMMENDED)
May = 2
Truly optional (MAY, OPTIONAL)
Implementations§
Trait Implementations§
impl Copy for ReqLevel
impl Eq for ReqLevel
impl StructuralPartialEq for ReqLevel
Auto Trait Implementations§
impl Freeze for ReqLevel
impl RefUnwindSafe for ReqLevel
impl Send for ReqLevel
impl Sync for ReqLevel
impl Unpin for ReqLevel
impl UnsafeUnpin for ReqLevel
impl UnwindSafe for ReqLevel
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
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
Compare self to
key and return true if they are equal.