Enum tiff::TiffError [−][src]
pub enum TiffError { FormatError(TiffFormatError), UnsupportedError(TiffUnsupportedError), IoError(Error), LimitsExceeded, IntSizeError, UsageError(UsageError), }
Expand description
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.
The Limits of the Decoder is exceeded.
An integer conversion to or from a platform size failed, either due to limits of the platform size or limits of the format.
UsageError(UsageError)
The image does not support the requested operation
Trait Implementations
impl Error for TiffError
[src]
impl Error for TiffError
[src]fn description(&self) -> &str
[src]
fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn cause(&self) -> Option<&dyn Error>
[src]
fn cause(&self) -> Option<&dyn Error>
[src]👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
impl From<FromUtf8Error> for TiffError
[src]
impl From<FromUtf8Error> for TiffError
[src]fn from(_err: FromUtf8Error) -> TiffError
[src]
fn from(_err: FromUtf8Error) -> TiffError
[src]Performs the conversion.
impl From<TiffFormatError> for TiffError
[src]
impl From<TiffFormatError> for TiffError
[src]fn from(err: TiffFormatError) -> TiffError
[src]
fn from(err: TiffFormatError) -> TiffError
[src]Performs the conversion.
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 From<TryFromIntError> for TiffError
[src]
impl From<TryFromIntError> for TiffError
[src]fn from(_err: TryFromIntError) -> TiffError
[src]
fn from(_err: TryFromIntError) -> TiffError
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for TiffError
impl Send for TiffError
impl Sync for TiffError
impl Unpin for TiffError
impl !UnwindSafe for TiffError
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