Struct libusb::ConfigDescriptor [] [src]

pub struct ConfigDescriptor { /* fields omitted */ }

Describes a configuration.

Methods

impl ConfigDescriptor
[src]

Returns the configuration number.

Returns the device's maximum power consumption (in milliwatts) in this configuration.

Indicates if the device is self-powered in this configuration.

Indicates if the device has remote wakeup capability in this configuration.

Returns the index of the string descriptor that describes the configuration.

Returns the number of interfaces for this configuration.

Returns a collection of the configuration's interfaces.

Trait Implementations

impl Drop for ConfigDescriptor
[src]

A method called when the value goes out of scope. Read more

impl Sync for ConfigDescriptor
[src]

impl Send for ConfigDescriptor
[src]

impl Debug for ConfigDescriptor
[src]

Formats the value using the given formatter.