Enum rustiff::DecodeErrorKind[][src]

pub enum DecodeErrorKind {
    IO {
        error: Error,
    },
    NoByteOrder,
    NoVersion,
    NoIFDAddress,
    NoImage,
    CannotFindTheTag {
        tag: AnyTag,
    },
    UnsupportedIFDEntry {
        entry: Entry,
        reason: String,
    },
    UnsupportedMultipleData {
        tag: AnyTag,
        data: Vec<u32>,
    },
    UnsupportedData {
        tag: AnyTag,
        data: u32,
    },
    IncorrectBufferSize {
        calc: usize,
        sum: usize,
    },
    IncompatibleData {
        photometric_interpretation: PhotometricInterpretation,
        bits_per_sample: BitsPerSample,
    },
    NoData {
        tag: AnyTag,
    },
    ExtraData {
        tag: AnyTag,
        data: Vec<u32>,
    },
    NoSupportDataType {
        tag: AnyTag,
        datatype: DataType,
        count: usize,
    },
}

Variants

Fields of IO

Fields of CannotFindTheTag

Fields of UnsupportedIFDEntry

Fields of UnsupportedMultipleData

Fields of UnsupportedData

Fields of IncorrectBufferSize

Fields of IncompatibleData

Fields of NoData

Fields of ExtraData

Fields of NoSupportDataType

Trait Implementations

impl Debug for DecodeErrorKind
[src]

Formats the value using the given formatter. Read more

impl From<DecodeErrorKind> for DecodeError
[src]

Performs the conversion.

Auto Trait Implementations