Enum rust_releases::RustDistError [−][src]
#[non_exhaustive]
pub enum RustDistError {
ChannelNotAvailable(Channel),
ChunkMetadataMissing,
ChunkWriteFlushError(IntoInnerError<BufWriter<Vec<u8, Global>>>),
Io(Error),
UnableToFetch(RusotoError<ListObjectsV2Error>),
RustReleasesIo(IoError),
SecureConnectionError(TlsError),
UnrecognizedText(FromUtf8Error),
UnableToParseVersionNumberComponent(&'static &'static str, String),
}
Expand description
Top level failure cases for rust-releases-rust-dist source crate
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ChannelNotAvailable(Channel)
Tuple Fields
0: Channel
Returned in case a Channel
is not available for the Source
.
ChunkMetadataMissing
Returned when the AWS Object returned does not have meta data. In such case we can’t get path of the object which we use to determine the release version.
ChunkWriteFlushError(IntoInnerError<BufWriter<Vec<u8, Global>>>)
Tuple Fields
0: IntoInnerError<BufWriter<Vec<u8, Global>>>
Returned when we can’t consume the inner in-memory buffered writer.
Io(Error)
Tuple Fields
0: Error
Returned in case of an i/o error.
UnableToFetch(RusotoError<ListObjectsV2Error>)
Unable to fetch metadata about the available Rust releases.
RustReleasesIo(IoError)
Returned in case of an rust-releases-io
i/o error.
SecureConnectionError(TlsError)
Returned in case of a TLS error.
UnrecognizedText(FromUtf8Error)
Tuple Fields
Returned in case the input text cannot be parsed.
UnableToParseVersionNumberComponent(&'static &'static str, String)
Returned in case a component of a semver
version could not be parsed as a number.
The component is usually the major
, minor
or patch
version.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RustDistError
impl Send for RustDistError
impl Sync for RustDistError
impl Unpin for RustDistError
impl !UnwindSafe for RustDistError
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