Trait rust_cloud_discovery::DiscoveryService [−][src]
All discovery service provider must implement the trait. Note that, it’s based on async_trait
Required methods
#[must_use]fn discover_instances<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<ServiceInstance>, Box<dyn Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<ServiceInstance>, Box<dyn Error>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns list of instances