pub type ResultData = Result<Vec<u8>, c_int>;
enum ResultData { Ok(Vec<u8, Global>), Err(i32), }
Contains the success value
Contains the error value