Trait dbus::MsgHandler [] [src]

pub trait MsgHandler {
    fn handle_ci(&mut self, ci: &ConnectionItem) -> Option<MsgHandlerResult> { ... }
    fn handle_msg(&mut self, _msg: &Message) -> Option<MsgHandlerResult> { ... }
}

A trait for handling incoming messages. To use in combination with ConnectionItems.

Provided Methods

The default handle_ci function calls handle_msg, so implement the one that fits you better.

Called for all incoming method calls, method returns, and signals.

Implementors