Struct kitsune_p2p_dht_arc::DhtArcBucket[][src]

pub struct DhtArcBucket { /* fields omitted */ }
Expand description

When sampling a section of the arc we can collect all the other peer DhtArcs into a DhtBucket. All the peer arcs arc contained within the buckets filter arc. The filter is this peer’s “view” into their section of the dht arc.

Implementations

Select only the arcs that fit into the bucket.

Same as new but doesn’t check if arcs fit into the bucket.

Get the density of this bucket.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.