pub trait ZoneProvider: Send + Sync + 'static {
    // Required method
    fn run<'life0, 'async_trait>(
        &'life0 mut self,
        sender: Sender<Zone>,
        updates: Receiver<ZoneProviderUpdate>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn run<'life0, 'async_trait>( &'life0 mut self, sender: Sender<Zone>, updates: Receiver<ZoneProviderUpdate> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Trait Implementations§

source§

impl ZoneProvider for Box<dyn ZoneProvider>

source§

fn run<'life0, 'async_trait>( &'life0 mut self, sender: Sender<Zone>, updates: Receiver<ZoneProviderUpdate> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

source§

impl ZoneProvider for Box<dyn ZoneProvider>

source§

fn run<'life0, 'async_trait>( &'life0 mut self, sender: Sender<Zone>, updates: Receiver<ZoneProviderUpdate> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§