Enum tiff::TiffUnsupportedError
source · [−]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)
InterpretationWithBits(PhotometricInterpretation, Vec<u8>)
UnknownInterpretation
UnknownCompressionMethod
UnsupportedCompressionMethod(CompressionMethod)
UnsupportedSampleDepth(u8)
UnsupportedSampleFormat(Vec<SampleFormat>)
UnsupportedColorType(ColorType)
UnsupportedBitsPerChannel(u8)
UnsupportedPlanarConfig(Option<PlanarConfiguration>)
UnsupportedDataType
Trait Implementations
sourceimpl Clone for TiffUnsupportedError
impl Clone for TiffUnsupportedError
sourcefn clone(&self) -> TiffUnsupportedError
fn clone(&self) -> TiffUnsupportedError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TiffUnsupportedError
impl Debug for TiffUnsupportedError
sourceimpl Display for TiffUnsupportedError
impl Display for TiffUnsupportedError
sourceimpl From<TiffUnsupportedError> for TiffError
impl From<TiffUnsupportedError> for TiffError
sourcefn from(err: TiffUnsupportedError) -> TiffError
fn from(err: TiffUnsupportedError) -> TiffError
Converts to this type from the input type.
sourceimpl Hash for TiffUnsupportedError
impl Hash for TiffUnsupportedError
sourceimpl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
impl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &TiffUnsupportedError) -> bool
fn ne(&self, other: &TiffUnsupportedError) -> bool
This method tests for !=
.
impl Eq for TiffUnsupportedError
impl StructuralEq for TiffUnsupportedError
impl StructuralPartialEq for TiffUnsupportedError
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more