GetWattageLimit

Trait GetWattageLimit 

Source
pub trait GetWattageLimit: CollectData {
    // Provided methods
    fn get_wattage_limit<'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_limit(
        &self,
        data: &HashMap<DataField, Value>,
    ) -> Option<Power> { ... }
}

Provided Methods§

Source

fn get_wattage_limit<'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_limit(&self, data: &HashMap<DataField, Value>) -> Option<Power>

Implementors§