Skip to main content

UnitResult

Type Alias UnitResult 

Source
pub type UnitResult<T = ()> = Result<T, Box<dyn Error + Send + Sync + 'static>>;
Expand description

Result returned by execution-unit construction and steps.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

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

Contains the error value