co_usb
Loading...
Searching...
No Matches
status.hpp File Reference

Status codes for transfers. More...

#include <libusb.h>
#include <system_error>
Include dependency graph for status.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::transfer_status_category_t
 
struct  std::is_error_code_enum< co_usb::transfer::status >
 

Namespaces

namespace  co_usb
 
namespace  co_usb::transfer
 
namespace  std
 

Enumerations

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

Functions

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

Detailed Description

Status codes for transfers.