Type Alias TaskResult

Source
pub type TaskResult<T = (), E = TaskError> = Result<T, E>;
Expand description

The type of result returned by a task.

Aliased Type§

pub enum TaskResult<T = (), E = TaskError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value