Enum oma_fetch::checksum::ChecksumError
source · pub enum ChecksumError {
FailedToOpenFile(String),
ChecksumIOError(String),
BadLength,
HexError(FromHexError),
}Variants§
Trait Implementations§
source§impl Debug for ChecksumError
impl Debug for ChecksumError
source§impl Display for ChecksumError
impl Display for ChecksumError
source§impl Error for ChecksumError
impl Error for ChecksumError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ChecksumError> for DownloadError
impl From<ChecksumError> for DownloadError
source§fn from(source: ChecksumError) -> Self
fn from(source: ChecksumError) -> Self
Converts to this type from the input type.
source§impl From<FromHexError> for ChecksumError
impl From<FromHexError> for ChecksumError
source§fn from(source: FromHexError) -> Self
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ChecksumError
impl Send for ChecksumError
impl Sync for ChecksumError
impl Unpin for ChecksumError
impl UnwindSafe for ChecksumError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more