pub fn parse_device_type(s: &str) -> Option<DeviceType>Expand description
Parse a DeviceType from its wire string (mirrors C rhp_device_type_parse).
Returns None for any unrecognized value.
pub fn parse_device_type(s: &str) -> Option<DeviceType>Parse a DeviceType from its wire string (mirrors C rhp_device_type_parse).
Returns None for any unrecognized value.