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)
InterpretationWithBits(PhotometricInterpretation, Vec<u8>)
UnsupportedCompressionMethod(CompressionMethod)
UnsupportedSampleDepth(u8)
UnsupportedSampleFormat(Vec<SampleFormat>)
UnsupportedColorType(ColorType)
UnsupportedBitsPerChannel(u8)
UnsupportedPlanarConfig(Option<PlanarConfiguration>)
Trait Implementations
impl Clone for TiffUnsupportedError
[src]
impl Clone for TiffUnsupportedError
[src]fn clone(&self) -> TiffUnsupportedError
[src]
fn clone(&self) -> TiffUnsupportedError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TiffUnsupportedError
[src]
impl Debug for TiffUnsupportedError
[src]impl Display for TiffUnsupportedError
[src]
impl Display for TiffUnsupportedError
[src]impl From<TiffUnsupportedError> for TiffError
[src]
impl From<TiffUnsupportedError> for TiffError
[src]fn from(err: TiffUnsupportedError) -> TiffError
[src]
fn from(err: TiffUnsupportedError) -> TiffError
[src]Performs the conversion.
impl Hash for TiffUnsupportedError
[src]
impl Hash for TiffUnsupportedError
[src]impl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
[src]
impl PartialEq<TiffUnsupportedError> for TiffUnsupportedError
[src]fn eq(&self, other: &TiffUnsupportedError) -> bool
[src]
fn eq(&self, other: &TiffUnsupportedError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TiffUnsupportedError) -> bool
[src]
fn ne(&self, other: &TiffUnsupportedError) -> bool
[src]This method tests for !=
.
impl Eq for TiffUnsupportedError
[src]
impl StructuralEq for TiffUnsupportedError
[src]
impl StructuralPartialEq for TiffUnsupportedError
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more