Enum exif::Error [−][src]
pub enum Error {
InvalidFormat(&'static str),
Io(Error),
NotFound(&'static str),
BlankValue(&'static str),
TooBig(&'static str),
NotSupported(&'static str),
}An error type returned when parsing Exif data.
Variants
InvalidFormat(&'static str)Input data was malformed or truncated.
Io(Error)Input data could not be read due to an I/O error and
a std::io::Error value is associated with this variant.
NotFound(&'static str)Exif attribute information was not found in JPEG data.
BlankValue(&'static str)The value of the field is blank. Some fields have blank values whose meanings are defined as "unknown". Such a blank value should be treated the same as the absence of the field.
TooBig(&'static str)Field values or image data are too big to encode.
NotSupported(&'static str)The field type is not supported and cannnot be encoded.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for Error[src]
impl From<Error> for Errorimpl Display for Error[src]
impl Display for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for Error[src]
impl Error for Error