#[non_exhaustive]pub enum ImageHashParseErrorType {
Format,
Range {
index: usize,
value: u8,
},
}
Expand description
Type of ImageHashParseError
that occurred.
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.
Format
Input is either animated and not 34 characters long or is not animated and is not 32 characters long.
Range
Input is out of the accepted range (‘0’ to ‘9’, ‘a’ to ‘f’).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageHashParseErrorType
impl RefUnwindSafe for ImageHashParseErrorType
impl Send for ImageHashParseErrorType
impl Sync for ImageHashParseErrorType
impl Unpin for ImageHashParseErrorType
impl UnwindSafe for ImageHashParseErrorType
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