RAII wrapper over a transfer allocation.
More...
#include <resource.hpp>
|
| | resource (int iso_packets=0) |
| |
| auto | get () const noexcept -> libusb_transfer * |
| |
RAII wrapper over a transfer allocation.
- Note
- Satisfies co_usb::transfer::detail::TransferResource.
◆ resource()
| co_usb::transfer::resource::resource |
( |
int |
iso_packets = 0 | ) |
|
|
inlineexplicit |
◆ get()
| auto co_usb::transfer::resource::get |
( |
| ) |
const -> libusb_transfer *
|
|
inlinenoexcept |
The documentation for this struct was generated from the following file:
- /home/runner/work/co_usb/co_usb/include/co_usb/transfer/resource.hpp