Skip to main content

DriveError

Type Alias DriveError 

Source
pub type DriveError<CE, SE> = DriveFailure<StepError<CE>, SE>;
Expand description

Failure of an image drive: a DriveFailure whose stage error is the decoder’s StepError.

Aliased Type§

pub enum DriveError<CE, SE> {
    Step(StepError<CE>),
    Source(SE),
    Protocol(ProtocolViolation),
    Input(InputError),
}

Variants§

§

Step(StepError<CE>)

The stage failed (for an image decoder: the decoder, its sink or the pulse).

§

Source(SE)

The source failed.

§

Protocol(ProtocolViolation)

The stage broke the protocol.

§

Input(InputError)

Input admission or allocation failed before a source read.