#[non_exhaustive]pub enum UnsupportedErrorKind {
Color(ExtendedColorType),
Format(ImageFormatHint),
GenericFeature(String),
}
Expand description
Details what feature is not supported.
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.
Color(ExtendedColorType)
The required color type can not be handled.
Format(ImageFormatHint)
An image format is not supported.
GenericFeature(String)
Some feature specified by string. This is discouraged and is likely to get deprecated (but not removed).
Trait Implementations§
Source§impl Clone for UnsupportedErrorKind
impl Clone for UnsupportedErrorKind
Source§fn clone(&self) -> UnsupportedErrorKind
fn clone(&self) -> UnsupportedErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UnsupportedErrorKind
impl Debug for UnsupportedErrorKind
Source§impl Hash for UnsupportedErrorKind
impl Hash for UnsupportedErrorKind
Source§impl PartialEq for UnsupportedErrorKind
impl PartialEq for UnsupportedErrorKind
impl StructuralPartialEq for UnsupportedErrorKind
Auto Trait Implementations§
impl Freeze for UnsupportedErrorKind
impl RefUnwindSafe for UnsupportedErrorKind
impl Send for UnsupportedErrorKind
impl Sync for UnsupportedErrorKind
impl Unpin for UnsupportedErrorKind
impl UnwindSafe for UnsupportedErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)