Struct rusb::ConfigDescriptor[][src]

pub struct ConfigDescriptor { /* fields omitted */ }
Expand description

Describes a configuration.

Implementations

Returns the configuration number.

Returns the device’s maximum power consumption (in milliamps) 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.

Returns the unknown ‘extra’ bytes that libusb does not understand.

Trait Implementations

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.