Enum auto_palette::Error
source ยท pub enum Error {
EmptyImageData,
InvalidImageData,
ExtractionFailure {
details: String,
},
UnsupportedAlgorithm {
name: String,
},
UnsupportedTheme {
name: String,
},
}
Expand description
Error might occur during the palette extraction process.
Variantsยง
EmptyImageData
The image data is empty and cannot be processed.
InvalidImageData
The image data contains invalid pixel data.
ExtractionFailure
The palette extraction process failed. The details provide more information about the error.
UnsupportedAlgorithm
The algorithm is not supported. The name provides more information about the unsupported algorithm.
UnsupportedTheme
The theme is not supported. The name provides more information about the unsupported theme.
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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