[][src]Trait dbus_async::Binder

pub trait Binder: Sized + Send + Sync + 'static {
#[must_use]    fn bind_by_receiver<'async_trait>(
        self,
        dbus: DBus,
        receiver: Receiver<Message>
    ) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; #[must_use] fn bind<'life0, 'async_trait>(
        self,
        dbus: DBus,
        object_path: &'life0 str
    ) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
, { ... } }

Required methods

#[must_use]fn bind_by_receiver<'async_trait>(
    self,
    dbus: DBus,
    receiver: Receiver<Message>
) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>> where
    Self: 'async_trait, 

Loading content...

Provided methods

#[must_use]fn bind<'life0, 'async_trait>(
    self,
    dbus: DBus,
    object_path: &'life0 str
) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl<T> Binder for Arc<Mutex<T>> where
    T: Handler
[src]

Loading content...

Implementors

impl<T> Binder for T where
    T: Handler
[src]

Loading content...