Trait node_discover::Provider[][src]

pub trait Provider: TryFrom<ParsedArgs> + Send + Sync {
    fn addrs<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, DiscoverError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn help() -> String; }

Required methods

Retrieve IP addresses of nodes in this provider.

Returns text explaining how to use this provider.

That means which attributes are available and what the value of those attributes can be. Any other information that the user of this provider needs to know should also be explained.

Implementors