Trait dbus_async::Binder[][src]

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<'async_trait>(
        self,
        dbus: DBus,
        object_path: ObjectPath
    ) -> Pin<Box<dyn Future<Output = DBusResult<()>> + Send + 'async_trait>>
    where
        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, 
[src]

Loading content...

Provided methods

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

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...