#[non_exhaustive]pub enum TiffUnsupportedError {
Show 16 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,
}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.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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§
Source§impl Clone for TiffUnsupportedError
impl Clone for TiffUnsupportedError
Source§fn clone(&self) -> TiffUnsupportedError
fn clone(&self) -> TiffUnsupportedError
Returns a duplicate 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 Error for TiffUnsupportedError
impl Error for TiffUnsupportedError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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 for TiffUnsupportedError
impl PartialEq for TiffUnsupportedError
impl Eq for TiffUnsupportedError
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 UnwindSafe for TiffUnsupportedError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more