Skip to main content

WorkerResult

Type Alias WorkerResult 

Source
pub type WorkerResult<W> = Result<<W as Worker>::Output, WorkerError<W>>;

Aliased Type§

pub enum WorkerResult<W> {
    Ok(<W as Worker>::Output),
    Err(ApplyError<<W as Worker>::Input, <W as Worker>::Error>),
}

Variants§

§1.0.0

Ok(<W as Worker>::Output)

Contains the success value

§1.0.0

Err(ApplyError<<W as Worker>::Input, <W as Worker>::Error>)

Contains the error value