Enum semver_parser::lexer::Error [−][src]
pub enum Error { UnexpectedChar(char), }
Variants
UnexpectedChar(char)
Unexpected character.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
impl PartialEq for Error
fn eq(&self, other: &Error) -> bool
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Error) -> bool
[src]
fn ne(&self, other: &Error) -> bool
This method tests for !=
.
impl Eq for Error
[src]
impl Eq for Error
impl PartialOrd for Error
[src]
impl PartialOrd for Error
fn partial_cmp(&self, other: &Error) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Error) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Error) -> bool
[src]
fn lt(&self, other: &Error) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Error) -> bool
[src]
fn le(&self, other: &Error) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Error) -> bool
[src]
fn gt(&self, other: &Error) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Error) -> bool
[src]
fn ge(&self, other: &Error) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Error
[src]
impl Ord for Error
fn cmp(&self, other: &Error) -> Ordering
[src]
fn cmp(&self, other: &Error) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'input> From<Error> for Error<'input>
[src]
impl<'input> From<Error> for Error<'input>