Enum libp2p_gossipsub::metrics::Inclusion
source · [−]pub enum Inclusion {
Fanout,
Random,
Subscribed,
Outbound,
}
Expand description
Reasons why a peer was included in the mesh.
Variants
Fanout
Peer was a fanaout peer.
Random
Included from random selection.
Subscribed
Peer subscribed.
Outbound
Peer was included to fill the outbound quota.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Inclusion
impl UnwindSafe for Inclusion
Blanket Implementations
Mutably borrows from an owned value. Read more