Enum rust_releases_rust_dist_with_cli::RustDistWithCLIError [−][src]
#[non_exhaustive]
pub enum RustDistWithCLIError {
ChannelNotAvailable(Channel),
RustReleasesIo(IoError),
UnrecognizedText(FromUtf8Error),
}
Expand description
Top level failure cases for rust-releases-rust-dist-with-cli source crate
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ChannelNotAvailable(Channel)
Tuple Fields
0: Channel
Returned in case a Channel
is not implemented for the Source
RustReleasesIo(IoError)
Tuple Fields
0: IoError
Returned in case of an rust-releases-io
i/o error
UnrecognizedText(FromUtf8Error)
Tuple Fields
Returned in case the input text could not be parsed
Trait Implementations
Performs the conversion.