Struct rusb::ConfigDescriptor [−][src]
pub struct ConfigDescriptor { /* fields omitted */ }
Expand description
Describes a configuration.
Implementations
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.
pub fn interfaces(&self) -> Interfaces<'_>ⓘNotable traits for Interfaces<'a>impl<'a> Iterator for Interfaces<'a> type Item = Interface<'a>;
pub fn interfaces(&self) -> Interfaces<'_>ⓘNotable traits for Interfaces<'a>impl<'a> Iterator for Interfaces<'a> type Item = Interface<'a>;
Notable traits for Interfaces<'a>
impl<'a> Iterator for Interfaces<'a> type Item = Interface<'a>;
Returns a collection of the configuration’s interfaces.