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
CouldNotExecuteCommand(Error)
An error ocurrend when executing the rustc
command.
Utf8Error(Utf8Error)
The output of rustc -vV
was not valid utf-8.
UnexpectedVersionFormat
The output of rustc -vV
was not in the expected format.
ReqParseError(ReqParseError)
An error ocurred in parsing a VersionReq
.
SemVerError(SemVerError)
An error ocurred in parsing the semver.
UnknownPreReleaseTag(Identifier)
The pre-release tag is unknown.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
fn description(&self) -> &str
A short description of the error. Read more