pub struct MulticastDiscovery { /* private fields */ }Expand description
Multicast-based discovery (for local networks)
Implementations§
Trait Implementations§
Source§impl DiscoveryService for MulticastDiscovery
impl DiscoveryService for MulticastDiscovery
Source§fn discover_nodes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ClusterNode>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn discover_nodes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ClusterNode>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Discover nodes in the cluster
Source§fn register_node<'life0, 'async_trait>(
&'life0 self,
node: ClusterNode,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_node<'life0, 'async_trait>(
&'life0 self,
node: ClusterNode,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register this node in the discovery service
Auto Trait Implementations§
impl Freeze for MulticastDiscovery
impl !RefUnwindSafe for MulticastDiscovery
impl Send for MulticastDiscovery
impl Sync for MulticastDiscovery
impl Unpin for MulticastDiscovery
impl !UnwindSafe for MulticastDiscovery
Blanket Implementations§
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