Enum rustc_version::Error [−][src]
pub enum Error { CouldNotExecuteCommand(Error), CommandError { stdout: String, stderr: String, }, Utf8Error(Utf8Error), UnexpectedVersionFormat, SemVerError(Error), UnknownPreReleaseTag(String), LlvmVersionError(LlvmVersionParseError), }
Expand description
The error type for this crate.
Variants
CouldNotExecuteCommand(Error)
An error occurred while trying to find the rustc
to run.
Error output from the command that was run.
Show fields
Utf8Error(Utf8Error)
The output of rustc -vV
was not valid utf-8.
The output of rustc -vV
was not in the expected format.
SemVerError(Error)
An error occurred in parsing the semver.
UnknownPreReleaseTag(String)
The pre-release tag is unknown.
LlvmVersionError(LlvmVersionParseError)
An error occurred in parsing a LlvmVersion
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error