Enum UnsupportedErrorKind

enum UnsupportedErrorKind

Details what feature is not supported.

Variants

Color(crate::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).

Implementations

impl Clone for UnsupportedErrorKind

fn clone(self: &Self) -> UnsupportedErrorKind

impl Debug for UnsupportedErrorKind

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Freeze for UnsupportedErrorKind

impl Hash for UnsupportedErrorKind

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for UnsupportedErrorKind

fn eq(self: &Self, other: &UnsupportedErrorKind) -> bool

impl RefUnwindSafe for UnsupportedErrorKind

impl Send for UnsupportedErrorKind

impl StructuralPartialEq for UnsupportedErrorKind

impl Sync for UnsupportedErrorKind

impl Unpin for UnsupportedErrorKind

impl UnwindSafe for UnsupportedErrorKind

impl<T> Any for UnsupportedErrorKind

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for UnsupportedErrorKind

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for UnsupportedErrorKind

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for UnsupportedErrorKind

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for UnsupportedErrorKind

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for UnsupportedErrorKind

unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T> ToOwned for UnsupportedErrorKind

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for UnsupportedErrorKind

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for UnsupportedErrorKind

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for UnsupportedErrorKind

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>