ImageOptimizerAPIError

Enumin image_optimizerfastly 0.13.1View source
pub enum ImageOptimizerAPIError {
ParameterError(String),
SerializeError,
}

Errors that can arise during construction of Image Optimizer requests.

Variants

ParameterError

An invalid value was given for a parameter.

0: String

SerializeError

An error occurred during parameter serialization.

Trait implementations

impl Debug for ImageOptimizerAPIError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut $crate::fmt::Formatter

Returns

$crate::fmt::Result

impl PartialEq for ImageOptimizerAPIError

fn eq(&self, other: &Self) -> bool

Parameters

self: &Self
other: &Self

Returns

bool

Auto trait implementations

Blanket implementations