pub enum ScanSeverity {
Low,
Medium,
High,
Critical,
}Expand description
Severity level for package security scan findings.
Distinct from repository::Severity which is used for repository-level
vulnerability tracking. This type is for pre-install package scanning.
Variants§
Low
Low-risk finding (informational).
Medium
Medium-risk finding (review recommended).
High
High-risk finding (should be addressed).
Critical
Critical-risk finding (blocks installation).
Implementations§
Source§impl ScanSeverity
impl ScanSeverity
Trait Implementations§
Source§impl Clone for ScanSeverity
impl Clone for ScanSeverity
Source§fn clone(&self) -> ScanSeverity
fn clone(&self) -> ScanSeverity
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScanSeverity
impl Debug for ScanSeverity
Source§impl Ord for ScanSeverity
impl Ord for ScanSeverity
Source§impl PartialEq for ScanSeverity
impl PartialEq for ScanSeverity
Source§impl PartialOrd for ScanSeverity
impl PartialOrd for ScanSeverity
Source§fn partial_cmp(&self, other: &ScanSeverity) -> Option<Ordering>
fn partial_cmp(&self, other: &ScanSeverity) -> Option<Ordering>
impl Copy for ScanSeverity
impl Eq for ScanSeverity
impl StructuralPartialEq for ScanSeverity
Auto Trait Implementations§
impl Freeze for ScanSeverity
impl RefUnwindSafe for ScanSeverity
impl Send for ScanSeverity
impl Sync for ScanSeverity
impl Unpin for ScanSeverity
impl UnwindSafe for ScanSeverity
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)