Trait Gateway

Source
pub trait Gateway:
    Send
    + Sync
    + Debug {
    // Required method
    fn handle_reading<'life0, 'async_trait>(
        &'life0 self,
        reading: SensorMessage,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn handle_reading<'life0, 'async_trait>( &'life0 self, reading: SensorMessage, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§