Enum rust_releases_io::IoError [−][src]
#[non_exhaustive]
pub enum IoError {
DlCache,
Io(Error),
NoSuchChannel(String),
SystemTime(SystemTimeError),
}
Expand description
Top level failure cases for rust-releases-core
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.
Returned if the cache is not accessible
Io(Error)
Returned in case of an i/o error
Tuple Fields of Io
0: Error
NoSuchChannel(String)
Returned in the event that the parsing a release channel with a given identifier does not exist
Tuple Fields of NoSuchChannel
0: String
SystemTime(SystemTimeError)
Returned if the system time could not be obtained
Tuple Fields of SystemTime
Trait Implementations
Performs the conversion.