Struct UnsupportedError
struct UnsupportedError { ... }
The implementation for an operation was not provided.
See the variant Unsupported for more documentation.
Implementations
impl UnsupportedError
fn from_format_and_kind(format: ImageFormatHint, kind: UnsupportedErrorKind) -> SelfCreate an
UnsupportedErrorfor an image with details on the unsupported feature.If the operation was not connected to a particular image format then the hint may be
Unknown.fn kind(self: &Self) -> UnsupportedErrorKindReturns the corresponding
UnsupportedErrorKindof the error.fn format_hint(self: &Self) -> ImageFormatHintReturns the image format associated with this error.
impl Debug for UnsupportedError
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for UnsupportedError
fn fmt(self: &Self, fmt: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error>
impl Error for UnsupportedError
impl Freeze for UnsupportedError
impl From for UnsupportedError
fn from(hint: ImageFormatHint) -> Self
impl RefUnwindSafe for UnsupportedError
impl Send for UnsupportedError
impl Sync for UnsupportedError
impl Unpin for UnsupportedError
impl UnwindSafe for UnsupportedError
impl<T> Any for UnsupportedError
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for UnsupportedError
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for UnsupportedError
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for UnsupportedError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for UnsupportedError
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToString for UnsupportedError
fn to_string(self: &Self) -> String
impl<T, U> Into for UnsupportedError
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for UnsupportedError
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for UnsupportedError
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>