ObjectManagerSignals

Trait ObjectManagerSignals 

Source
pub trait ObjectManagerSignals {
    // Required methods
    fn interfaces_added<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        object_path: ObjectPath<'life1>,
        interfaces_and_properties: HashMap<InterfaceName<'life2>, HashMap<&'life3 str, Value<'life4>>>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
    fn interfaces_removed<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        object_path: ObjectPath<'life1>,
        interfaces: Cow<'life2, [InterfaceName<'life3>]>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}
Expand description

Trait providing all signal emission methods for ObjectManager.

Required Methods§

Source

fn interfaces_added<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, object_path: ObjectPath<'life1>, interfaces_and_properties: HashMap<InterfaceName<'life2>, HashMap<&'life3 str, Value<'life4>>>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Source

fn interfaces_removed<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, object_path: ObjectPath<'life1>, interfaces: Cow<'life2, [InterfaceName<'life3>]>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§