pub type IoResult = Result<Vec<u8>, Error>;
Custom result type
pub enum IoResult { Ok(Vec<u8>), Err(Error), }
Contains the success value
Contains the error value