fuchsia_bluetooth::profile

Function elem_to_profile_descriptor

Source
pub fn elem_to_profile_descriptor(
    elem: &DataElement,
) -> Option<ProfileDescriptor>
Expand description

Try to interpret a DataElement as a ProfileDesciptor. Returns None if the DataElement is not in the correct format to represent a ProfileDescriptor.