Enum TiffUnsupportedError

#[non_exhaustive]
pub enum TiffUnsupportedError

The Decoder does not support features required by the image.

This only captures known failures for which the standard either does not require support or an implementation has been planned but not yet completed. Some variants may become unused over time and will then get deprecated before being removed.

Variants

FloatingPointPredictor(ColorType)
HorizontalPredictor(ColorType)
InconsistentBitsPerSample(Vec<u8>)
InterpretationWithBits(PhotometricInterpretation, Vec<u8>)
UnknownInterpretation
UnknownCompressionMethod
UnsupportedCompressionMethod(CompressionMethod)
UnsupportedSampleDepth(u8)
UnsupportedSampleFormat(Vec<SampleFormat>)
UnsupportedColorType(ColorType)
UnsupportedBitsPerChannel(u8)
UnsupportedPlanarConfig(Option<PlanarConfiguration>)
UnsupportedDataType
UnsupportedInterpretation(PhotometricInterpretation)
ChromaSubsampling
MisalignedTileBoundaries

Trait Implementations

impl Clone for TiffUnsupportedError

fn clone(&self) -> TiffUnsupportedError

impl Debug for TiffUnsupportedError

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

impl Display for TiffUnsupportedError

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

impl Eq for TiffUnsupportedError

impl Error for TiffUnsupportedError

fn source(&self) -> Option<&dyn Error + 'static>

impl Hash for TiffUnsupportedError

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

impl PartialEq for TiffUnsupportedError

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

impl StructuralPartialEq for TiffUnsupportedError

Auto Trait Implementations

impl Freeze for TiffUnsupportedError

impl RefUnwindSafe for TiffUnsupportedError

impl Send for TiffUnsupportedError

impl Sync for TiffUnsupportedError

impl Unpin for TiffUnsupportedError

impl UnsafeUnpin for TiffUnsupportedError

impl UnwindSafe for TiffUnsupportedError

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for TiffUnsupportedError where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for TiffUnsupportedError where ST: ?Sized, DT: ?Sized,

impl<T> Any for TiffUnsupportedError where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for TiffUnsupportedError where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for TiffUnsupportedError where T: ?Sized,

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

impl<T> CloneToUninit for TiffUnsupportedError where T: Clone,

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

impl<T> From<T> for TiffUnsupportedError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for TiffUnsupportedError where T: ?Sized,

impl<T> ToOwned for TiffUnsupportedError where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for TiffUnsupportedError where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for TiffUnsupportedError where U: From<T>,

fn into(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<U> for TiffUnsupportedError where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for TiffUnsupportedError where U: TryFrom<T>,

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