pub type TaskResult = Result<(), Box<dyn Error + Send + Sync + 'static>>;
Error-erased result returned by one task-owned workload.
pub enum TaskResult { Ok(()), Err(Box<dyn Error + Sync + Send>), }
Contains the success value
Contains the error value