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