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
If the UsbBus is not Sync, it can still be used to make a UsbDevice,
but that UsbDevice will not be Sync. This is quite limiting (as it
mostly means that the USB device can't be accessed from interrupt
contexts), but it is entirely safe from the Rust safety perspective.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
15
15
16
16
*[breaking] The control pipe is now provided in the `UsbDeviceBuilder` API to allow for user-provided control
17
17
pipes. This makes it so that control pipes have configurable sizing.
18
+
* Don't require UsbBus to be Sync. If a UsbBus is not Sync, it can still be used to make a UsbDevice, but that UsbDevice will not be Sync (ensuring soundness).
0 commit comments