pub struct DiscoveryCore<P> { /* private fields */ }Expand description
Service-discovery core: service → (endpoint, owner). A peer’s departure
(evict) removes its endpoints.
Implementations§
Trait Implementations§
Source§impl<P: Clone> Clone for DiscoveryCore<P>
impl<P: Clone> Clone for DiscoveryCore<P>
Source§fn clone(&self) -> DiscoveryCore<P>
fn clone(&self) -> DiscoveryCore<P>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<P: Debug> Debug for DiscoveryCore<P>
impl<P: Debug> Debug for DiscoveryCore<P>
Source§impl<P: Default> Default for DiscoveryCore<P>
impl<P: Default> Default for DiscoveryCore<P>
Source§fn default() -> DiscoveryCore<P>
fn default() -> DiscoveryCore<P>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<P> Freeze for DiscoveryCore<P>
impl<P> RefUnwindSafe for DiscoveryCore<P>where
P: RefUnwindSafe,
impl<P> Send for DiscoveryCore<P>where
P: Send,
impl<P> Sync for DiscoveryCore<P>where
P: Sync,
impl<P> Unpin for DiscoveryCore<P>
impl<P> UnsafeUnpin for DiscoveryCore<P>
impl<P> UnwindSafe for DiscoveryCore<P>where
P: RefUnwindSafe,
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