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