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
Auto Trait Implementations
impl !RefUnwindSafe for TiffError
impl !UnwindSafe for TiffError
impl Freeze for TiffError
impl Send for TiffError
impl Sync for TiffError
impl Unpin for TiffError
impl UnsafeUnpin for TiffError
Blanket Implementations
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for TiffError
where
ST: ?Sized,
DT: ?Sized,
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for TiffError
where
ST: ?Sized,
DT: ?Sized,
impl<T> Any for TiffError
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for TiffError
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for TiffError
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for TiffError
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Read<Exclusive, BecauseExclusive> for TiffError
where
T: ?Sized,
impl<T> ToString for TiffError
where
T: Display + ?Sized,
fn to_string(&self) -> String
impl<T, U> Into<U> for TiffError
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for TiffError
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for TiffError
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>