pub enum CvssTextError {
Empty,
}Expand description
Error returned when CVSS text metadata is invalid.
Variants§
Empty
Trait Implementations§
Source§impl Clone for CvssTextError
impl Clone for CvssTextError
Source§fn clone(&self) -> CvssTextError
fn clone(&self) -> CvssTextError
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 CvssTextError
impl Debug for CvssTextError
Source§impl Display for CvssTextError
impl Display for CvssTextError
Source§impl Error for CvssTextError
impl Error for CvssTextError
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 CvssTextError
impl PartialEq for CvssTextError
Source§fn eq(&self, other: &CvssTextError) -> bool
fn eq(&self, other: &CvssTextError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CvssTextError
impl Eq for CvssTextError
impl StructuralPartialEq for CvssTextError
Auto Trait Implementations§
impl Freeze for CvssTextError
impl RefUnwindSafe for CvssTextError
impl Send for CvssTextError
impl Sync for CvssTextError
impl Unpin for CvssTextError
impl UnsafeUnpin for CvssTextError
impl UnwindSafe for CvssTextError
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