Trait usb_util::types::Descriptor
source · pub trait Descriptor {
// Required method
fn descriptor_type() -> DescriptorType;
}
Expand description
Trait describing USB descriptors.
Required Methods§
sourcefn descriptor_type() -> DescriptorType
fn descriptor_type() -> DescriptorType
Get the expected bDescriptorType value for this type of descriptor.
Object Safety§
This trait is not object safe.