Enum tiff::TiffError [−][src]
pub enum TiffError {
FormatError(TiffFormatError),
UnsupportedError(TiffUnsupportedError),
IoError(Error),
}Tiff error kinds.
Variants
FormatError(TiffFormatError)The Image is not formatted properly
UnsupportedError(TiffUnsupportedError)The Decoder does not support this image format
IoError(Error)An I/O Error occurred while decoding the image
Trait Implementations
impl Debug for TiffError[src]
impl Debug for TiffErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for TiffError[src]
impl Display for TiffErrorfn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Error for TiffError[src]
impl Error for TiffErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl From<Error> for TiffError[src]
impl From<Error> for TiffErrorimpl From<FromUtf8Error> for TiffError[src]
impl From<FromUtf8Error> for TiffErrorfn from(_err: FromUtf8Error) -> TiffError[src]
fn from(_err: FromUtf8Error) -> TiffErrorPerforms the conversion.