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