Enum rust_releases::RustChangelogError [−][src]
#[non_exhaustive]
pub enum RustChangelogError {
ChannelNotAvailable(Channel),
ChronoParseError(String),
NoDateInChangelogItem,
NoVersionInChangelogItem,
RustReleasesIoError(IoError),
SemverError(Error, String),
UnrecognizedText(FromUtf8Error),
}
Expand description
Top level failure cases for rust-releases-rust-changelog 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
ChronoParseError(String)
Tuple Fields
0: String
Returned in case of of chrono
parse errors
NoDateInChangelogItem
Returned in a case a release entry does not contain a recognizable release date
NoVersionInChangelogItem
Returned in a case a release entry does not contain a recognizable release version
RustReleasesIoError(IoError)
Returned in case a rust-releases-io
error is caught
SemverError(Error, String)
Returned in case of semver error on the hot path
UnrecognizedText(FromUtf8Error)
Tuple Fields
Returned in case a input resource cannot be parsed as UTF-8
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for RustChangelogError
impl Send for RustChangelogError
impl Sync for RustChangelogError
impl Unpin for RustChangelogError
impl !UnwindSafe for RustChangelogError
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