pub type TaskResult<R> = Result<R, TaskError>;
The return type for a task.
pub enum TaskResult<R> { Ok(R), Err(TaskError), }
Contains the success value
Contains the error value