Enum TiffFormatError

#[non_exhaustive]
pub enum TiffFormatError

The image is not formatted properly.

This indicates that the encoder producing the image might behave incorrectly or that the input file has been corrupted.

Variants

TiffSignatureNotFound
TiffSignatureInvalid
ImageFileDirectoryNotFound
InconsistentSizesEncountered
InvalidDimensions(u32, u32)
InvalidTag
InvalidTagValueType(Tag)
RequiredTagNotFound(Tag)
UnknownPredictor(u16)
UnknownPlanarConfiguration(u16)
InvalidTypeForTag
InvalidCountForTag(Tag, usize)
StripTileTagConflict
CycleInOffsets
SamplesPerPixelIsZero
CompressedDataCorrupt(String)

Trait Implementations

impl Clone for TiffFormatError

fn clone(&self) -> Self

impl Debug for TiffFormatError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for TiffFormatError

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

impl Error for TiffFormatError

fn source(&self) -> Option<&dyn Error + 'static>

impl PartialEq for TiffFormatError

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for TiffFormatError

Auto Trait Implementations

impl Freeze for TiffFormatError

impl RefUnwindSafe for TiffFormatError

impl Send for TiffFormatError

impl Sync for TiffFormatError

impl Unpin for TiffFormatError

impl UnsafeUnpin for TiffFormatError

impl UnwindSafe for TiffFormatError

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for TiffFormatError where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for TiffFormatError where ST: ?Sized, DT: ?Sized,

impl<T> Any for TiffFormatError where T: 'static + ?Sized,

impl<T> Borrow<T> for TiffFormatError where T: ?Sized,

impl<T> BorrowMut<T> for TiffFormatError where T: ?Sized,

impl<T> CloneToUninit for TiffFormatError where T: Clone,

impl<T> From<T> for TiffFormatError

impl<T> Read<Exclusive, BecauseExclusive> for TiffFormatError where T: ?Sized,

impl<T> ToOwned for TiffFormatError where T: Clone,

impl<T> ToString for TiffFormatError where T: Display + ?Sized,

impl<T, U> Into<U> for TiffFormatError where U: From<T>,

impl<T, U> TryFrom<U> for TiffFormatError where U: Into<T>,

impl<T, U> TryInto<U> for TiffFormatError where U: TryFrom<T>,