co_usb
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
error.hpp File Reference
#include <libusb-1.0/libusb.h>
#include <system_error>
#include <type_traits>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  co_usb::transfer_status_category_t
 
struct  std::is_error_code_enum< co_usb::transfer_status >
 

Namespaces

namespace  co_usb
 
namespace  std
 

Enumerations

enum class  co_usb::transfer_status {
  co_usb::completed = LIBUSB_TRANSFER_COMPLETED , co_usb::error = LIBUSB_TRANSFER_ERROR , co_usb::timed_out = LIBUSB_TRANSFER_TIMED_OUT , co_usb::cancelled = LIBUSB_TRANSFER_CANCELLED ,
  co_usb::stall = LIBUSB_TRANSFER_STALL , co_usb::no_device = LIBUSB_TRANSFER_NO_DEVICE , co_usb::overflow = LIBUSB_TRANSFER_OVERFLOW
}
 Status codes for transfers. More...
 

Functions

const std::error_category & co_usb::transfer_status_category ()
 
std::error_code co_usb::make_transfer_status (transfer_status e) noexcept
 
std::error_code co_usb::make_transfer_status (libusb_transfer_status e) noexcept