pub fn parse_setupapi(text: &str, file: &str) -> Vec<DeviceConnection>Expand description
Parse a setupapi.dev.log / setupapi.log text body into one
DeviceConnection per device-install section header.
file is the source filename recorded in each record’s Provenance.
Non-matching lines are skipped; the function never panics on any input.