Enum tiff::UsageError
source · [−]Expand description
User attempted to use the Decoder in a way that is incompatible with a specific image.
For example: attempting to read a tile from a stripped image.
Variants
InvalidChunkType(ChunkType, ChunkType)
InvalidChunkIndex(u32)
Trait Implementations
sourceimpl Debug for UsageError
impl Debug for UsageError
sourceimpl Display for UsageError
impl Display for UsageError
sourceimpl From<UsageError> for TiffError
impl From<UsageError> for TiffError
sourcefn from(err: UsageError) -> TiffError
fn from(err: UsageError) -> TiffError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for UsageError
impl Send for UsageError
impl Sync for UsageError
impl Unpin for UsageError
impl UnwindSafe for UsageError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more