Struct ParameterError
pub struct ParameterError { /* private fields */ }
An error was encountered in inputs arguments.
This is used as an opaque representation for the ImageError::Parameter variant. See its
documentation for more information.
Implementations
impl ParameterError
fn from_kind(kind: ParameterErrorKind) -> SelfConstruct a
ParameterErrordirectly from a corresponding kind.fn kind(&self) -> ParameterErrorKindReturns the corresponding
ParameterErrorKindof the error.
Trait Implementations
impl Debug for ParameterError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ParameterError
fn fmt(&self, fmt: &mut Formatter<'_>) -> Result<(), Error>
impl Error for ParameterError
fn source(&self) -> Option<&dyn Error + 'static>