|
| const std::error_category & | usb_error_category () |
| |
| std::error_code | make_usb_error_code (usb_error e) noexcept |
| |
| std::error_code | make_usb_error_code (libusb_error e) noexcept |
| |
| template<detail::ErrorProtocol< device_handle > ErrTy> |
| auto | open_device (boost::capy::executor_ref exec, device_triplet triplet, ErrTy &&errp) -> typename ErrTy::template return_type< device_handle > |
| | Opens a device by triplet and returns a device_handle or reports an error per error protocol implementation.
|
| |
| auto | open_device (boost::capy::executor_ref exec, device_triplet triplet) |
| | Opens a device from a device_ref and returns a device_handle or throws an error.
|
| |
| template<detail::ErrorProtocol< device_handle > ErrTy> |
| auto | open_device (device_ref dev_ref, ErrTy &&errp) -> typename ErrTy::template return_type< device_handle > |
| | Opens a device from a device_ref and returns a device_handle or reports an error per error protocol implementation.
|
| |
| auto | open_device (device_ref dev_ref) |
| | Opens a device from a device_ref and returns a device_handle or throws an error.
|
| |
| auto | triplet_from_descriptor (libusb_device_descriptor const &desc) |
| |
| template<detail::ErrorProtocol< driver_guard > ErrTy> |
| auto | detach_driver (detail::DeviceHandleSource auto const &devh_src, int interface_num, ErrTy &&errp=as_exception()) -> typename ErrTy::template return_type< driver_guard > |
| | Detaches the kernel driver and returns a driver_guard or reports an error per error protocol implementation.
|
| |
| auto | detach_driver (detail::DeviceHandleSource auto const &devh_src, int interface_num) -> driver_guard |
| | Detaches the kernel driver and returns a driver_guard or throws an error.
|
| |
| constexpr auto | as_exception () noexcept -> detail::as_exception_t |
| |
| constexpr auto | as_optional (std::error_code &ec) noexcept -> detail::as_optional_t |
| |
| constexpr auto | as_io_result () noexcept -> detail::as_io_result_t |
| |
| constexpr auto | as_io_task () noexcept -> detail::as_io_task_t |
| |
| template<detail::ErrorProtocol< interface > ErrTy> |
| auto | claim_interface (detail::DeviceHandleSource auto const &devh_src, int interface_num, ErrTy &&errp=as_exception()) -> typename ErrTy::template return_type< interface > |
| | Claims the interface and returns a interface or reports an error per error protocol implementation.
|
| |
| auto | claim_interface (detail::DeviceHandleSource auto const &devh_src, int interface_num) -> interface |
| | Claims the interface and returns a interface or throws an error.
|
| |