usb_
util
0.1.0
Module device
Module Items
Structs
Enums
Constants
In crate usb_
util
usb_util
Module
device
Copy item path
Source
Structs
§
Device
Device represents a USB device.
DmaBuffer
DmaBuffer represents a DMA buffer lent by a device
Managed
DmaBuffer
🔒
ManagedDmaBuffer represents the entire DMA buffer allocated by a device
Transfer
Transfer contains the information necessary to submit a USB request and, once it has been submitted and completed, contains the response.
Transfer
Handle
TransferHandle is a handle that allows cancellation of in-flight transfers between submit_transfer() and get_completed_transfer(). Attempting to cancel a transfer that has already completed is safe and will return an error.
Enums
§
Transfer
Buffer
TransferBuffer is used for data transfer between crosvm and the host kernel
Transfer
Status
Constants
§
MMAP_
SIZE
🔒