Enum rust_version::ParseChannelError [] [src]

pub enum ParseChannelError<'a> {
    Format(&'a [u8]),
    Number(&'a [u8]),
    Overflow(&'a [u8]),
}

Error encountered when parsing a Channel.

Variants

The string wasn't "stable", "beta" or "beta.N", or "nightly".

The number in "beta.N" could not be parsed as a positive number.

The number in "beta.N" was too large.

Trait Implementations

impl<'a> Clone for ParseChannelError<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for ParseChannelError<'a>
[src]

impl<'a> Eq for ParseChannelError<'a>
[src]

impl<'a> PartialEq for ParseChannelError<'a>
[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<'a> Hash for ParseChannelError<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> From<ParseBetaError<'a>> for ParseChannelError<'a>
[src]

[src]

Performs the conversion.

impl<'a> Debug for ParseChannelError<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> Display for ParseChannelError<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseChannelError<'a>
[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