Function capsules::usb::get_set_descriptor_type [] [src]

fn get_set_descriptor_type(byte: u8) -> Option<DescriptorType>

Get a descriptor type that is legal in a SetDescriptor request