Enum tiff::TiffUnsupportedError [−][src]
pub enum TiffUnsupportedError {
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
HorizontalPredictor(ColorType)
Tuple Fields
0: ColorType
InterpretationWithBits(PhotometricInterpretation, Vec<u8>)
UnknownInterpretation
UnknownCompressionMethod
UnsupportedCompressionMethod(CompressionMethod)
Tuple Fields
UnsupportedSampleDepth(u8)
Tuple Fields
0: u8
UnsupportedSampleFormat(Vec<SampleFormat>)
Tuple Fields
0: Vec<SampleFormat>
UnsupportedColorType(ColorType)
Tuple Fields
0: ColorType
UnsupportedBitsPerChannel(u8)
Tuple Fields
0: u8
UnsupportedPlanarConfig(Option<PlanarConfiguration>)
Tuple Fields
UnsupportedDataType
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TiffUnsupportedError
impl Send for TiffUnsupportedError
impl Sync for TiffUnsupportedError
impl Unpin for TiffUnsupportedError
impl UnwindSafe for TiffUnsupportedError
Blanket Implementations
Mutably borrows from an owned value. Read more