Function usb_util::descriptor::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.