Enum rustc_version::Error [] [src]

pub enum Error {
    CouldNotExecuteCommand(Error),
    Utf8Error(Utf8Error),
    UnexpectedVersionFormat,
    ReqParseError(ReqParseError),
    SemVerError(SemVerError),
    UnknownPreReleaseTag(Identifier),
}

The error type for this crate.

Variants

An error ocurrend when executing the rustc command.

The output of rustc -vV was not valid utf-8.

The output of rustc -vV was not in the expected format.

An error ocurred in parsing a VersionReq.

An error ocurred in parsing the semver.

The pre-release tag is unknown.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

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

A short description of the error. Read more

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<SemVerError> for Error
[src]

Performs the conversion.

impl From<ReqParseError> for Error
[src]

Performs the conversion.