Skip to main content

DriveResult

Type Alias DriveResult 

Source
pub type DriveResult<Id, R, A, Y, I, E> = Result<DriveOutcome<Id, R, A, Y, I>, DriveError<Id, E>>;
Expand description

Result type returned by one bounded drive operation.

Aliased Type§

pub enum DriveResult<Id, R, A, Y, I, E> {
    Ok(DriveOutcome<Id, R, A, Y, I>),
    Err(DriveError<Id, E>),
}

Variants§

§1.0.0

Ok(DriveOutcome<Id, R, A, Y, I>)

Contains the success value

§1.0.0

Err(DriveError<Id, E>)

Contains the error value