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