pub enum CvssAttackVector {
Network,
Adjacent,
Local,
Physical,
}Expand description
CVSS attack-vector labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CvssAttackVector
impl Clone for CvssAttackVector
Source§fn clone(&self) -> CvssAttackVector
fn clone(&self) -> CvssAttackVector
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 CvssAttackVector
impl Debug for CvssAttackVector
Source§impl Display for CvssAttackVector
impl Display for CvssAttackVector
Source§impl FromStr for CvssAttackVector
impl FromStr for CvssAttackVector
Source§type Err = CvssParseError
type Err = CvssParseError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<CvssAttackVector, <CvssAttackVector as FromStr>::Err>
fn from_str( input: &str, ) -> Result<CvssAttackVector, <CvssAttackVector as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for CvssAttackVector
impl Hash for CvssAttackVector
Source§impl Ord for CvssAttackVector
impl Ord for CvssAttackVector
Source§fn cmp(&self, other: &CvssAttackVector) -> Ordering
fn cmp(&self, other: &CvssAttackVector) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CvssAttackVector
impl PartialEq for CvssAttackVector
Source§fn eq(&self, other: &CvssAttackVector) -> bool
fn eq(&self, other: &CvssAttackVector) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CvssAttackVector
impl PartialOrd for CvssAttackVector
impl Copy for CvssAttackVector
impl Eq for CvssAttackVector
impl StructuralPartialEq for CvssAttackVector
Auto Trait Implementations§
impl Freeze for CvssAttackVector
impl RefUnwindSafe for CvssAttackVector
impl Send for CvssAttackVector
impl Sync for CvssAttackVector
impl Unpin for CvssAttackVector
impl UnsafeUnpin for CvssAttackVector
impl UnwindSafe for CvssAttackVector
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