mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-26 13:45:33 +00:00
13eea9f028
Rather than having a get_canceller() function on UsbTransfer, make the submit function return the canceller. This makes it clear that the transfer can't be cancelled before it is submitted. BUG=None TEST=None Change-Id: Ice36c3096a1f8a5aafe93b5d5e27eb371183c19f Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1783599 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
bindings.rs | ||
config_descriptor.rs | ||
device_handle.rs | ||
endpoint_descriptor.rs | ||
error.rs | ||
hotplug.rs | ||
interface_descriptor.rs | ||
lib.rs | ||
libusb_context.rs | ||
libusb_device.rs | ||
types.rs | ||
usb_transfer.rs |