GetWattage

Trait GetWattage 

Source
pub trait GetWattage: CollectData {
    // Provided methods
    fn get_wattage<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Option<Power>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn parse_wattage(&self, data: &HashMap<DataField, Value>) -> Option<Power> { ... }
}

Provided Methods§

Source

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

Source

fn parse_wattage(&self, data: &HashMap<DataField, Value>) -> Option<Power>

Implementors§