pub enum BmpErrorKind {
WrongMagicNumbers,
UnsupportedBitsPerPixel,
UnsupportedCompressionType,
UnsupportedBmpVersion,
Other,
BmpIoError(Error),
BmpByteorderError(Error),
}Expand description
The different kinds of possible BMP errors.
Variants§
WrongMagicNumbers
UnsupportedBitsPerPixel
UnsupportedCompressionType
UnsupportedBmpVersion
Other
BmpIoError(Error)
BmpByteorderError(Error)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BmpErrorKind
impl !RefUnwindSafe for BmpErrorKind
impl Send for BmpErrorKind
impl Sync for BmpErrorKind
impl Unpin for BmpErrorKind
impl !UnwindSafe for BmpErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more