Enum rust_version::ParseVersionError [] [src]

pub enum ParseVersionError<'a> {
    Channel(ParseChannelError<'a>),
    Release(ParseReleaseError<'a>),
    Date(ParseDateError<'a>),
    Commit(ParseCommitError<'a>),
    Fetch(Error),
    NoChannelRelease,
}

Error encountered when parsing a Version.

Variants

An error parsing a Channel.

An error parsing a Release.

An error parsing a Date.

An error parsing a Commit.

An error fetching the latest stable/beta/nightly.

No channel and/or release was given.

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Performs the conversion.

impl<'a> From<ParseReleaseError<'a>> for ParseVersionError<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<ParseDateError<'a>> for ParseVersionError<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<ParseCommitError<'a>> for ParseVersionError<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<Error> for ParseVersionError<'a>
[src]

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter. Read more

impl<'a> Error for ParseVersionError<'a>
[src]

[src]

A short description of the error. Read more

[src]

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