Trait dbus_async::Handler[][src]

pub trait Handler: Send {
    fn handle<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        dbus: &'life1 DBus,
        msg: Message
    ) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

A trait for the generic Message handler.

Required methods

Handle the Message.

Implementors