pub type TaskResult = Result<(), TaskError>;
pub enum TaskResult { Ok(()), Err(Box<dyn Error + Send + Sync>), }
Contains the success value
Contains the error value