Enum ParameterErrorKind
#[non_exhaustive]
pub enum ParameterErrorKind
Details how a parameter is malformed.
Variants
-
DimensionMismatch The dimensions passed are wrong.
-
FailedAlready Repeated an operation for which error that could not be cloned was emitted already.
-
RgbCicpRequired(Cicp) The cicp is required to be RGB-like but had other matrix transforms or narrow range.
-
Generic(String) A string describing the parameter. This is discouraged and is likely to get deprecated (but not removed).
-
NoMoreData The end of the image has been reached.
-
CicpMismatch { expected: Cicp, found: Cicp } An operation expected a concrete color space but another was found.
Trait Implementations
impl Clone for ParameterErrorKind
fn clone(&self) -> Self
impl Debug for ParameterErrorKind
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Hash for ParameterErrorKind
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ParameterErrorKind
fn eq(&self, other: &Self) -> bool