Struct ntp_daemon::spawn::PeerId
source · pub struct PeerId(_);
Expand description
Unique identifier for a peer. This peer id makes sure that even if the network address is the same that we always know which specific spawned peer we are talking about.
Implementations§
Trait Implementations§
source§impl PartialEq<PeerId> for PeerId
impl PartialEq<PeerId> for PeerId
impl Copy for PeerId
impl Eq for PeerId
impl StructuralEq for PeerId
impl StructuralPartialEq for PeerId
Auto Trait Implementations§
impl RefUnwindSafe for PeerId
impl Send for PeerId
impl Sync for PeerId
impl Unpin for PeerId
impl UnwindSafe for PeerId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.