Function usb_util::parse_usbfs_descriptors

source ·
pub fn parse_usbfs_descriptors(data: &[u8]) -> Result<DeviceDescriptorTree>
Expand description

Given data containing a full set of descriptors as provided by the Linux kernel usbdevfs descriptors file, parse the descriptors into a tree data structure.