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