Enum semver::SemVerError 
source · pub enum SemVerError {
    ParseError(String),
}Expand description
An error type for this crate
Currently, just a generic error. Will make this nicer later.
Variants§
Trait Implementations§
source§impl Clone for SemVerError
 
impl Clone for SemVerError
source§fn clone(&self) -> SemVerError
 
fn clone(&self) -> SemVerError
Returns a copy of the value. Read more
1.0.0 · 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 SemVerError
 
impl Debug for SemVerError
source§impl Display for SemVerError
 
impl Display for SemVerError
source§impl Error for SemVerError
 
impl Error for SemVerError
source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl PartialEq<SemVerError> for SemVerError
 
impl PartialEq<SemVerError> for SemVerError
source§fn eq(&self, other: &SemVerError) -> bool
 
fn eq(&self, other: &SemVerError) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SemVerError> for SemVerError
 
impl PartialOrd<SemVerError> for SemVerError
source§fn partial_cmp(&self, other: &SemVerError) -> Option<Ordering>
 
fn partial_cmp(&self, other: &SemVerError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read more