pub fn get_device_types() -> Result<Vec<String>, PyErr>
Expand description
Retrieves a list of available device types from the Python interface.
ยงReturns
Ok(Vec<String>)
- A vector of device type names if successful.Err(PyErr)
- An error if the Python call fails.