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