Enum cargo_version::SemVerError
[−]
[src]
pub enum SemVerError { ParseError(String), }
An error type for this crate
Currently, just a generic error. Will make this nicer later.
Variants
ParseError(String)
An error ocurred while parsing.
Trait Implementations
impl Error for SemVerError
[src]
fn description(&self) -> &str
[src]
impl Clone for SemVerError
[src]
fn clone(&self) -> SemVerError
[src]
impl PartialEq<SemVerError> for SemVerError
[src]
fn eq(&self, __arg_0: &SemVerError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SemVerError) -> bool
[src]
This method tests for !=
.
impl Debug for SemVerError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl Display for SemVerError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more