Type Alias maelstrom_base::JobResult

source ·
pub type JobResult<T, E> = Result<T, JobError<E>>;
Expand description

A common Result type in the worker.

Aliased Type§

enum JobResult<T, E> {
    Ok(T),
    Err(JobError<E>),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(JobError<E>)

Contains the error value