#[non_exhaustive]
pub enum ChannelManifestsError {
ChannelNotAvailable(Channel),
DeserializeToml(Error),
ParseManifestDate,
ParseManifestSource,
ParseMetaManifest,
ParseRustVersion(Error),
RustReleasesIoError(IoError),
RustVersionNotFoundInManifest,
}
Expand description
Top level failure cases for rust-releases-channel-manifests source crate
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ChannelNotAvailable(Channel)
Returned when the channel is not available, that is, is unimplemented.
DeserializeToml(Error)
Returned when a retrieved manifest is not decodable as TOML.
ParseManifestDate
Returned when the manifest date can not be parsed.
ParseManifestSource
Returned when the manifest source can not be parsed from the top level meta manifest.
ParseMetaManifest
Returned when the top level meta manifest can not be parsed.
ParseRustVersion(Error)
Returned when there is an issue with a semver version.
RustReleasesIoError(IoError)
Returned in case of an I/O error.
RustVersionNotFoundInManifest
Returned when the Rust version can not be found in a release manifest.
Trait Implementations
sourceimpl Debug for ChannelManifestsError
impl Debug for ChannelManifestsError
sourceimpl Display for ChannelManifestsError
impl Display for ChannelManifestsError
sourceimpl Error for ChannelManifestsError
impl Error for ChannelManifestsError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for ChannelManifestsError
impl From<Error> for ChannelManifestsError
sourceimpl From<Error> for ChannelManifestsError
impl From<Error> for ChannelManifestsError
Auto Trait Implementations
impl RefUnwindSafe for ChannelManifestsError
impl Send for ChannelManifestsError
impl Sync for ChannelManifestsError
impl Unpin for ChannelManifestsError
impl UnwindSafe for ChannelManifestsError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more