image::error

Type Alias ImageResult

source
pub type ImageResult<T> = Result<T, ImageError>;
Expand description

Result of an image decoding/encoding process

Aliased Type§

enum ImageResult<T> {
    Ok(T),
    Err(ImageError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ImageError)

Contains the error value