pub enum ImError {
IO(Error),
UnknownFormat,
ParserError(ImFormat),
}
Variants§
IO(Error)
If there was an IO error reading the image file this error is returend.
UnknownFormat
If the image format couldn’t be detected this error is returend.
ParserError(ImFormat)
If the image format was detected, but then something went wrong parsing the file this error is returned.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImError
impl !RefUnwindSafe for ImError
impl Send for ImError
impl Sync for ImError
impl Unpin for ImError
impl !UnwindSafe for ImError
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