Enum ntp_daemon::spawn::PeerRemovalReason
source · pub enum PeerRemovalReason {
Demobilized,
NetworkIssue,
Unreachable,
}Expand description
This indicates what the reason was that a peer was removed.
Variants§
Trait Implementations§
source§impl Debug for PeerRemovalReason
impl Debug for PeerRemovalReason
source§impl PartialEq<PeerRemovalReason> for PeerRemovalReason
impl PartialEq<PeerRemovalReason> for PeerRemovalReason
source§fn eq(&self, other: &PeerRemovalReason) -> bool
fn eq(&self, other: &PeerRemovalReason) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PeerRemovalReason
impl StructuralEq for PeerRemovalReason
impl StructuralPartialEq for PeerRemovalReason
Auto Trait Implementations§
impl RefUnwindSafe for PeerRemovalReason
impl Send for PeerRemovalReason
impl Sync for PeerRemovalReason
impl Unpin for PeerRemovalReason
impl UnwindSafe for PeerRemovalReason
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.