You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
♻️ refactor(device): introduce ProbedDevice enum to distinguish hubs from devices
Add `ProbedDevice` enum with `Device` and `Hub` variants so that callers
of `probe_devices()` can tell apart USB hubs from regular devices without
inspecting descriptors manually.
- Backend: add `ProbedDeviceInfoOp` enum in `ty/mod.rs`, update kmod and
umod backends to classify devices at probe time
- Public API: expose `ProbedDevice`, `HubDeviceInfo` from `host.rs`
- Tests/examples: use `into_device_info()` to filter out hubs
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments