GetMessages

Trait GetMessages 

Source
pub trait GetMessages: CollectData {
    // Provided methods
    fn get_messages<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Vec<MinerMessage>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn parse_messages(
        &self,
        data: &HashMap<DataField, Value>,
    ) -> Vec<MinerMessage> { ... }
}

Provided Methods§

Source

fn get_messages<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Vec<MinerMessage>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Source

fn parse_messages(&self, data: &HashMap<DataField, Value>) -> Vec<MinerMessage>

Implementors§