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