[−][src]Trait dbus::channel::MatchingReceiver
Abstraction over different connections that receive data
Associated Types
type F
Type of callback
Required methods
fn start_receive(&self, m: MatchRule<'static>, f: Self::F) -> Token
Add a callback to be called in case a message matches.
Returns an id that can be used to remove the callback.
fn stop_receive(&self, id: Token) -> Option<(MatchRule<'static>, Self::F)>
Remove a previously added callback.