Skip to main content

TileBatchError

Type Alias TileBatchError 

Source
pub type TileBatchError = BatchDecodeError<JpegError>;
Expand description

Error returned by decode_tiles_into, annotated with the failing tile index from the caller’s input order when a codec error occurs, or carrying a typed infrastructure error when no tile index applies.

Aliased Type§

pub enum TileBatchError {
    Tile(TileBatchError<JpegError>),
    Infrastructure(BatchInfrastructureError),
}

Variants§

§

Tile(TileBatchError<JpegError>)

The first codec failure in caller input order.

§

Infrastructure(BatchInfrastructureError)

Allocation, scheduling, or collection failed independently of a tile.