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
IO
Fields of IO
error: Error |
NoByteOrder
NoVersion
NoIFDAddress
NoImage
CannotFindTheTag
Fields of CannotFindTheTag
tag: AnyTag |
UnsupportedIFDEntry
Fields of UnsupportedIFDEntry
entry: Entry | |
reason: String |
UnsupportedMultipleData
Fields of UnsupportedMultipleData
tag: AnyTag | |
data: Vec<u32> |
UnsupportedData
Fields of UnsupportedData
tag: AnyTag | |
data: u32 |
IncorrectBufferSize
Fields of IncorrectBufferSize
calc: usize | |
sum: usize |
IncompatibleData
Fields of IncompatibleData
photometric_interpretation: PhotometricInterpretation | |
bits_per_sample: BitsPerSample |
NoData
Fields of NoData
tag: AnyTag |
ExtraData
Fields of ExtraData
tag: AnyTag | |
data: Vec<u32> |
NoSupportDataType
Fields of NoSupportDataType
tag: AnyTag | |
datatype: DataType | |
count: usize |
Trait Implementations
impl Debug for DecodeErrorKind
[src]
impl Debug for DecodeErrorKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<DecodeErrorKind> for DecodeError
[src]
impl From<DecodeErrorKind> for DecodeError
fn from(kind: DecodeErrorKind) -> DecodeError
[src]
fn from(kind: DecodeErrorKind) -> DecodeError
Performs the conversion.
Auto Trait Implementations
impl Send for DecodeErrorKind
impl Send for DecodeErrorKind
impl Sync for DecodeErrorKind
impl Sync for DecodeErrorKind