GetHostname

Trait GetHostname 

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

Provided Methods§

Source

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

Source

fn parse_hostname(&self, data: &HashMap<DataField, Value>) -> Option<String>

Implementors§