Enum rust_releases::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)
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.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RustDistWithCLIError
impl Send for RustDistWithCLIError
impl Sync for RustDistWithCLIError
impl Unpin for RustDistWithCLIError
impl !UnwindSafe for RustDistWithCLIError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more