pub struct ConcurrentDiscovery { /* private fields */ }
Expand description
A discovery service that combines multiple discovery sources.
The discovery services will resolve concurrently.
Implementations§
Source§impl ConcurrentDiscovery
impl ConcurrentDiscovery
Sourcepub fn empty() -> Self
pub fn empty() -> Self
Creates an empty ConcurrentDiscovery
.
Sourcepub fn from_services(services: Vec<Box<dyn Discovery>>) -> Self
pub fn from_services(services: Vec<Box<dyn Discovery>>) -> Self
Creates a new ConcurrentDiscovery
.
Trait Implementations§
Source§impl Debug for ConcurrentDiscovery
impl Debug for ConcurrentDiscovery
Source§impl Default for ConcurrentDiscovery
impl Default for ConcurrentDiscovery
Source§fn default() -> ConcurrentDiscovery
fn default() -> ConcurrentDiscovery
Returns the “default value” for a type. Read more
Source§impl Discovery for ConcurrentDiscovery
impl Discovery for ConcurrentDiscovery
Source§impl<T> From<T> for ConcurrentDiscovery
impl<T> From<T> for ConcurrentDiscovery
Auto Trait Implementations§
impl Freeze for ConcurrentDiscovery
impl !RefUnwindSafe for ConcurrentDiscovery
impl Send for ConcurrentDiscovery
impl Sync for ConcurrentDiscovery
impl Unpin for ConcurrentDiscovery
impl !UnwindSafe for ConcurrentDiscovery
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more