GetMAC

Trait GetMAC 

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

Provided Methods§

Source

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

Source

fn parse_mac(&self, data: &HashMap<DataField, Value>) -> Option<MacAddr>

Implementors§