pub type ThreadResult<T> = Result<T, ThreadError>;
pub enum ThreadResult<T> { Ok(T), Err(ThreadError), }
Contains the success value
Contains the error value