#[non_exhaustive]pub enum Unconvertible {
Malformed(&'static str),
Unsupported(String),
}Expand description
Why a profile is not converted.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Malformed(&'static str)
Not an ICC profile, or a damaged one.
Unsupported(String)
A valid profile this converter does not handle (LUT-based, CMYK, Lab PCS, …), named for the caller.
Trait Implementations§
Source§impl Clone for Unconvertible
impl Clone for Unconvertible
Source§fn clone(&self) -> Unconvertible
fn clone(&self) -> Unconvertible
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Unconvertible
impl Debug for Unconvertible
impl Eq for Unconvertible
Source§impl PartialEq for Unconvertible
impl PartialEq for Unconvertible
impl StructuralPartialEq for Unconvertible
Auto Trait Implementations§
impl Freeze for Unconvertible
impl RefUnwindSafe for Unconvertible
impl Send for Unconvertible
impl Sync for Unconvertible
impl Unpin for Unconvertible
impl UnsafeUnpin for Unconvertible
impl UnwindSafe for Unconvertible
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