Function fuchsia_bluetooth::profile::psm_from_protocol
source · pub fn psm_from_protocol(protocol: &Vec<ProtocolDescriptor>) -> Option<Psm>
Expand description
Returns the PSM from the provided protocol
. Returns None if the protocol
is not L2CAP or does not contain a PSM.