Type Alias StepResult

Source
pub type StepResult<T> = Result<NextStep<T>, StepError>;
Expand description

Result returning from task steps

Aliased Type§

pub enum StepResult<T> {
    Ok(NextStep<T>),
    Err(Box<dyn Error + Send + Sync>),
}

Variants§

§1.0.0

Ok(NextStep<T>)

Contains the success value

§1.0.0

Err(Box<dyn Error + Send + Sync>)

Contains the error value