Module nusb::transfer

source ·
Expand description

Transfer-related types.

Use the methods on an Interface to make individual transfers or obtain a Queue to manage multiple transfers.

Structs§

  • Status and data returned on transfer completion.
  • SETUP packet without direction or buffers
  • SETUP packet to make an IN request on a control endpoint.
  • SETUP packet and associated data to make an OUT request on a control endpoint.
  • Manages a stream of transfers on an endpoint.
  • A buffer for requesting an IN transfer.
  • Returned buffer and actual length for a completed OUT transfer.
  • Future used to await the completion of a transfer.

Enums§