Enum semver::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

An error ocurred while parsing.

Trait Implementations

impl Display for SemVerError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for SemVerError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl PartialOrd for SemVerError

fn partial_cmp(&self, __arg_0: &SemVerError) -> Option<Ordering>

fn lt(&self, __arg_0: &SemVerError) -> bool

fn le(&self, __arg_0: &SemVerError) -> bool

fn gt(&self, __arg_0: &SemVerError) -> bool

fn ge(&self, __arg_0: &SemVerError) -> bool

impl Debug for SemVerError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for SemVerError

fn eq(&self, __arg_0: &SemVerError) -> bool

fn ne(&self, __arg_0: &SemVerError) -> bool

impl Clone for SemVerError

fn clone(&self) -> SemVerError

1.0.0fn clone_from(&mut self, source: &Self)