Enum tiff::TiffFormatError [−][src]
pub enum TiffFormatError {}Show variants
TiffSignatureNotFound, TiffSignatureInvalid, ImageFileDirectoryNotFound, InconsistentSizesEncountered, UnexpectedCompressedData { actual_bytes: usize, required_bytes: usize, }, InconsistentStripSamples { actual_samples: usize, required_samples: usize, }, InvalidTag, InvalidTagValueType(Tag), RequiredTagNotFound(Tag), UnknownPredictor(u16), ByteExpected(Value), UnsignedIntegerExpected(Value), SignedIntegerExpected(Value), InflateError(InflateError), Format(String), RequiredTagEmpty(Tag), // some variants omitted
The image is not formatted properly.
This indicates that the encoder producing the image might behave incorrectly or that the input file has been corrupted.
The list of variants may grow to incorporate errors of future features. Matching against this exhaustively is not covered by interface stability guarantees.
Variants
InvalidTagValueType(Tag)
RequiredTagNotFound(Tag)
UnknownPredictor(u16)
ByteExpected(Value)
UnsignedIntegerExpected(Value)
SignedIntegerExpected(Value)
InflateError(InflateError)
Format(String)
RequiredTagEmpty(Tag)
Trait Implementations
impl Clone for TiffFormatError
[src]
fn clone(&self) -> TiffFormatError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TiffFormatError
[src]
impl Display for TiffFormatError
[src]
impl From<TiffFormatError> for TiffError
[src]
fn from(err: TiffFormatError) -> TiffError
[src]
impl PartialEq<TiffFormatError> for TiffFormatError
[src]
fn eq(&self, other: &TiffFormatError) -> bool
[src]
fn ne(&self, other: &TiffFormatError) -> bool
[src]
impl StructuralPartialEq for TiffFormatError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TiffFormatError
impl Send for TiffFormatError
impl Sync for TiffFormatError
impl Unpin for TiffFormatError
impl UnwindSafe for TiffFormatError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
[src]
pub const ALIGN: usize
[src]
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
[src]
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
[src]
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
[src]
pub unsafe fn drop(ptr: usize)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,