Enum TiffError
pub enum TiffError
Tiff error kinds.
Variants
-
FormatError(TiffFormatError) The Image is not formatted properly.
-
UnsupportedError(TiffUnsupportedError) The Decoder does not support features required by the image.
-
IoError(Error) An I/O Error occurred while decoding the image.
-
LimitsExceeded The Limits of the Decoder is exceeded.
-
IntSizeError An integer conversion to or from a platform size failed.
-
UsageError(UsageError) The image does not support the requested operation
Trait Implementations
impl Debug for TiffError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for TiffError
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result
impl Error for TiffError
fn source(&self) -> Option<&dyn Error + 'static>
impl From<DecodeErrors> for TiffError
fn from(err: DecodeErrors) -> Self
impl From<Error> for TiffError
fn from(err: Error) -> TiffError
impl From<FromUtf8Error> for TiffError
fn from(_err: FromUtf8Error) -> TiffError
impl From<LzwError> for TiffError
fn from(err: LzwError) -> TiffError
impl From<TiffFormatError> for TiffError
fn from(err: TiffFormatError) -> TiffError
impl From<TiffUnsupportedError> for TiffError
fn from(err: TiffUnsupportedError) -> TiffError
impl From<TryFromIntError> for TiffError
fn from(_err: TryFromIntError) -> TiffError
impl From<UsageError> for TiffError
fn from(err: UsageError) -> TiffError
impl From<Utf8Error> for TiffError
fn from(_err: Utf8Error) -> TiffError