Enum tiff::TiffUnsupportedError
source · pub enum TiffUnsupportedError {
FloatingPointPredictor(ColorType),
HorizontalPredictor(ColorType),
InterpretationWithBits(PhotometricInterpretation, Vec<u8>),
UnknownInterpretation,
UnknownCompressionMethod,
UnsupportedCompressionMethod(CompressionMethod),
UnsupportedSampleDepth(u8),
UnsupportedSampleFormat(Vec<SampleFormat>),
UnsupportedColorType(ColorType),
UnsupportedBitsPerChannel(u8),
UnsupportedPlanarConfig(Option<PlanarConfiguration>),
UnsupportedDataType,
// some variants omitted
}
Expand description
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.
The list of variants may grow. Matching against this exhaustively is not covered by interface stability guarantees.
Variants§
FloatingPointPredictor(ColorType)
HorizontalPredictor(ColorType)
InterpretationWithBits(PhotometricInterpretation, Vec<u8>)
UnknownInterpretation
UnknownCompressionMethod
UnsupportedCompressionMethod(CompressionMethod)
UnsupportedSampleDepth(u8)
UnsupportedSampleFormat(Vec<SampleFormat>)
UnsupportedColorType(ColorType)
UnsupportedBitsPerChannel(u8)
UnsupportedPlanarConfig(Option<PlanarConfiguration>)
UnsupportedDataType
Trait Implementations§
source§impl Clone for TiffUnsupportedError
impl Clone for TiffUnsupportedError
source§fn clone(&self) -> TiffUnsupportedError
fn clone(&self) -> TiffUnsupportedError
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 TiffUnsupportedError
impl Debug for TiffUnsupportedError
source§impl Display for TiffUnsupportedError
impl Display for TiffUnsupportedError
source§impl From<TiffUnsupportedError> for TiffError
impl From<TiffUnsupportedError> for TiffError
source§fn from(err: TiffUnsupportedError) -> TiffError
fn from(err: TiffUnsupportedError) -> TiffError
Converts to this type from the input type.
source§impl Hash for TiffUnsupportedError
impl Hash for TiffUnsupportedError
source§impl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
impl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
source§fn eq(&self, other: &TiffUnsupportedError) -> bool
fn eq(&self, other: &TiffUnsupportedError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.