Trait HostContext

Source
pub trait HostContext: Send + Sync {
    // Required methods
    fn computed_property<'life0, 'async_trait>(
        &'life0 self,
        name: String,
        args: String,
    ) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn device_property<'life0, 'async_trait>(
        &'life0 self,
        name: String,
        args: String,
    ) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn computed_property<'life0, 'async_trait>( &'life0 self, name: String, args: String, ) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn device_property<'life0, 'async_trait>( &'life0 self, name: String, args: String, ) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§