[][src]Trait rubble::l2cap::ChannelMapper

pub trait ChannelMapper {
    fn lookup(&mut self, channel: Channel) -> Option<ChannelData>;
}

Trait for L2CAP channel mappers that provide access to the protocol or service behind a CID.

Required methods

fn lookup(&mut self, channel: Channel) -> Option<ChannelData>

Look up what's connected to channel (eg. the Protocol to which to forward).

Loading content...

Implementors

impl<A: Attributes, S: SecurityLevel> ChannelMapper for BleChannelMap<A, S>[src]

Loading content...