pub type DnsSeedsProvider = DnsSeedsProvider;Expand description
DNS-resolving seeds provider, re-exported under the embed trait.
Aliased Type§
pub struct DnsSeedsProvider { /* private fields */ }Trait Implementations§
Source§impl SeedsProvider for DnsSeedsProvider
impl SeedsProvider for DnsSeedsProvider
Source§fn fetch(&self) -> Result<Vec<ConfDynSeed>, SeedsError>
fn fetch(&self) -> Result<Vec<ConfDynSeed>, SeedsError>
Return the current list of seeds.
Source§fn refresh_interval(&self) -> Duration
fn refresh_interval(&self) -> Duration
Refresh interval used by the gossip task between calls to
SeedsProvider::fetch.