Enum usb::libusb::libusb_descriptor_type [] [src]

#[repr(C)]
pub enum libusb_descriptor_type { LIBUSB_DT_DEVICE, LIBUSB_DT_CONFIG, LIBUSB_DT_STRING, LIBUSB_DT_INTERFACE, LIBUSB_DT_ENDPOINT, LIBUSB_DT_BOS, LIBUSB_DT_DEVICE_CAPABILITY, LIBUSB_DT_HID, LIBUSB_DT_REPORT, LIBUSB_DT_PHYSICAL, LIBUSB_DT_HUB, LIBUSB_DT_SUPERSPEED_HUB, LIBUSB_DT_SS_ENDPOINT_COMPANION, }

Descriptor types as defined by the USB specification.

Variants

Device descriptor. See libusb_device_descriptor.

Configuration descriptor. See libusb_config_descriptor.

String descriptor

Interface descriptor. See libusb_interface_descriptor.

Endpodescriptor: c_int. See libusb_endpoint_descriptor.

BOS descriptor

Device Capability descriptor

HID descriptor

HID report descriptor

Physical descriptor

Hub descriptor

SuperSpeed Hub descriptor

SuperSpeed EndpoCompanion: c_int descriptor

Trait Implementations

impl Copy for libusb_descriptor_type
[src]

impl Clone for libusb_descriptor_type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for libusb_descriptor_type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for libusb_descriptor_type
[src]

impl Debug for libusb_descriptor_type
[src]

Formats the value using the given formatter.