Enum show_image::error::ImageDataError [−][src]
pub enum ImageDataError {
UnsupportedImageFormat(UnsupportedImageFormat),
Other(String),
}
Expand description
An error that can occur while interpreting image data.
Variants
UnsupportedImageFormat(UnsupportedImageFormat)
The image data is not in a supported format.
Tuple Fields of UnsupportedImageFormat
Other(String)
An other error occured.
Tuple Fields of Other
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageDataError
impl Send for ImageDataError
impl Sync for ImageDataError
impl Unpin for ImageDataError
impl UnwindSafe for ImageDataError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.