dicom_encoding::adapters

Type Alias EncodeResult

Source
pub type EncodeResult<T, E = EncodeError> = Result<T, E>;
Expand description

The result of encoding (writing) pixel data

Aliased Type§

enum EncodeResult<T, E = EncodeError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value