fuchsia_bluetooth::profile

Function find_profile_descriptors

Source
pub fn find_profile_descriptors(
    attributes: &[Attribute],
) -> Result<Vec<ProfileDescriptor>, Error>
Expand description

Find an element representing the Bluetooth Profile Descriptor List in attributes, and convert the elements in the list into ProfileDescriptors. Returns an Error if no matching element was found, or if any element of the list couldn’t be converted into a ProfileDescriptor.