Enum libp2p_gossipsub::metrics::Churn
source · [−]pub enum Churn {
Dc,
BadScore,
Prune,
Unsub,
Excess,
}
Expand description
Reasons why a peer was removed from the mesh.
Variants
Dc
Peer disconnected.
BadScore
Peer had a bad score.
Prune
Peer sent a PRUNE.
Unsub
Peer unsubscribed.
Excess
Too many peers.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Churn
impl UnwindSafe for Churn
Blanket Implementations
Mutably borrows from an owned value. Read more