pub enum CvssParseError {
Empty,
Unknown,
}Expand description
Error returned when a CVSS label cannot be parsed.
Variants§
Trait Implementations§
Source§impl Clone for CvssParseError
impl Clone for CvssParseError
Source§fn clone(&self) -> CvssParseError
fn clone(&self) -> CvssParseError
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 CvssParseError
impl Debug for CvssParseError
Source§impl Display for CvssParseError
impl Display for CvssParseError
Source§impl Error for CvssParseError
impl Error for CvssParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for CvssParseError
impl PartialEq for CvssParseError
Source§fn eq(&self, other: &CvssParseError) -> bool
fn eq(&self, other: &CvssParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CvssParseError
impl Eq for CvssParseError
impl StructuralPartialEq for CvssParseError
Auto Trait Implementations§
impl Freeze for CvssParseError
impl RefUnwindSafe for CvssParseError
impl Send for CvssParseError
impl Sync for CvssParseError
impl Unpin for CvssParseError
impl UnsafeUnpin for CvssParseError
impl UnwindSafe for CvssParseError
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