dicom_encoding::adapters

Type Alias DecodeResult

Source
pub type DecodeResult<T, E = DecodeError> = Result<T, E>;
Expand description

The result of decoding (reading) pixel data

Aliased Type§

enum DecodeResult<T, E = DecodeError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value