#[non_exhaustive]pub enum AdvisorySeverity {
Information,
Warning,
Error,
}Expand description
How serious an Advisory is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Information
Informational note; no action implied.
Warning
Caution: the template is usable but has a known caveat.
Error
The template should not be used as published without the caller’s own remediation.
Trait Implementations§
Source§impl Clone for AdvisorySeverity
impl Clone for AdvisorySeverity
Source§fn clone(&self) -> AdvisorySeverity
fn clone(&self) -> AdvisorySeverity
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 moreimpl Copy for AdvisorySeverity
Source§impl Debug for AdvisorySeverity
impl Debug for AdvisorySeverity
impl Eq for AdvisorySeverity
Source§impl Hash for AdvisorySeverity
impl Hash for AdvisorySeverity
Source§impl PartialEq for AdvisorySeverity
impl PartialEq for AdvisorySeverity
impl StructuralPartialEq for AdvisorySeverity
Auto Trait Implementations§
impl Freeze for AdvisorySeverity
impl RefUnwindSafe for AdvisorySeverity
impl Send for AdvisorySeverity
impl Sync for AdvisorySeverity
impl Unpin for AdvisorySeverity
impl UnsafeUnpin for AdvisorySeverity
impl UnwindSafe for AdvisorySeverity
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