Enum reproto_semver::errors::Error [] [src]

pub enum Error<'input> {
    Parser(Error<'input>),
    MoreInput,
}

An error type for this crate.

Variants

An error ocurred while parsing.

Received more input than expected.

Trait Implementations

impl<'input> Clone for Error<'input>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'input> Debug for Error<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for Error<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for Error<'input>
[src]

impl<'input> PartialOrd for Error<'input>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'input> Ord for Error<'input>
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<'input> Display for Error<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> Error for Error<'input>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl<'input> From<Error<'input>> for Error<'input>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'input> Send for Error<'input>

impl<'input> Sync for Error<'input>