#[repr(u8)]pub enum ReqWarningKind {
NoRfc2119Keyword,
NegativeReq(Rfc2119Keyword),
}Expand description
Types of requirement warnings.
Variants§
NoRfc2119Keyword
Requirement text contains no RFC 2119 keywords
NegativeReq(Rfc2119Keyword)
Requirement text contains a negative requirement (MUST NOT, SHALL NOT, etc.) — these are hard to test
Trait Implementations§
Source§impl Clone for ReqWarningKind
impl Clone for ReqWarningKind
Source§fn clone(&self) -> ReqWarningKind
fn clone(&self) -> ReqWarningKind
Returns a duplicate of the value. Read more
1.0.0 · 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 ReqWarningKind
impl Debug for ReqWarningKind
Auto Trait Implementations§
impl Freeze for ReqWarningKind
impl RefUnwindSafe for ReqWarningKind
impl Send for ReqWarningKind
impl Sync for ReqWarningKind
impl Unpin for ReqWarningKind
impl UnsafeUnpin for ReqWarningKind
impl UnwindSafe for ReqWarningKind
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