Enum bmp::BmpErrorKind
source · pub enum BmpErrorKind {
WrongMagicNumbers,
UnsupportedBitsPerPixel,
UnsupportedCompressionType,
UnsupportedBmpVersion,
UnsupportedHeader,
BmpIoError(Error),
}
Expand description
The different kinds of possible BMP errors.
Variants§
WrongMagicNumbers
UnsupportedBitsPerPixel
UnsupportedCompressionType
UnsupportedBmpVersion
UnsupportedHeader
BmpIoError(Error)
Trait Implementations§
source§impl AsRef<str> for BmpErrorKind
impl AsRef<str> for BmpErrorKind
Auto Trait Implementations§
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