Module usb::libusb
[−]
[src]
Reexports
pub use self::libusb_class_code::*; |
pub use self::libusb_descriptor_type::*; |
pub use self::libusb_endpoint_direction::*; |
pub use self::libusb_transfer_type::*; |
pub use self::libusb_error::*; |
pub use self::libusb_transfer_status::*; |
Structs
libusb_config_descriptor |
A structure representing the standard USB configuration descriptor. This descriptor is documented in section 9.6.3 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format. |
libusb_context | |
libusb_control_setup |
Setup packet for control transfers. |
libusb_device | |
libusb_device_descriptor |
A structure representing the standard USB device descriptor. This descriptor is documented in section 9.6.1 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format. |
libusb_device_handle | |
libusb_endpoint_descriptor |
A structure representing the standard USB endpodescriptor: c_int. This descriptor is documented in section 9.6.6 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format. |
libusb_interface |
A collection of alternate settings for a particular USB interface. |
libusb_interface_descriptor |
A structure representing the standard USB interface descriptor. This descriptor is documented in section 9.6.5 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format. |
libusb_iso_packet_descriptor |
\ingroup asyncio * Isochronous packet descriptor. |
libusb_transfer |
\ingroup asyncio * The generic USB transfer structure. The user populates this structure and * then submits it in order to request a transfer. After the transfer has * completed, the library populates the transfer with the results and passes * it back to the user. |
Enums
libusb_class_code |
Device and/or Interface Class codes |
libusb_descriptor_type |
Descriptor types as defined by the USB specification. |
libusb_endpoint_direction | |
libusb_error |
Error codes. Most libusbx functions return 0 on success or one of these codes on failure. You can call libusb_error_name() to retrieve a string representation of an error code or libusb_strerror() to get an end-user suitable description of an error code. |
libusb_transfer_status |
\ingroup asyncio * Transfer status codes |
libusb_transfer_type |
Functions
Type Definitions
libusb_callback_fn |