co_usb
Loading...
Searching...
No Matches
co_usb::transfer::resource Struct Reference

RAII wrapper over a transfer allocation. More...

#include <resource.hpp>

Public Member Functions

 resource (int iso_packets=0)
 
auto get () const noexcept -> libusb_transfer *
 

Detailed Description

RAII wrapper over a transfer allocation.

Note
Satisfies co_usb::transfer::detail::TransferResource.

Constructor & Destructor Documentation

◆ resource()

co_usb::transfer::resource::resource ( int  iso_packets = 0)
inlineexplicit

Member Function Documentation

◆ get()

auto co_usb::transfer::resource::get ( ) const -> libusb_transfer *
inlinenoexcept

The documentation for this struct was generated from the following file: