Struct kitsune_p2p_dht_arc::PeerDensity [−][src]
pub struct PeerDensity { /* fields omitted */ }
Expand description
The average density of peers at a location in the u32 space.
Implementations
Create a new peer density reading from the:
- The filter used to create the bucket.
- Average coverage of all peers in the bucket.
- Count of peers in the bucket.
The expected number of peers for this arc over time.
Estimate the gap in coverage that needs to be filled. If the gap is negative that means we are over covered.
Estimate total peers.
Estimated total redundant coverage.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PeerDensity
impl Send for PeerDensity
impl Sync for PeerDensity
impl Unpin for PeerDensity
impl UnwindSafe for PeerDensity
Blanket Implementations
Mutably borrows from an owned value. Read more