Module libp2p_kad::kbucket
source · 👎Deprecated: The
kbucket module will be made private in the future and should not be depended on.Re-exports
pub use super::bucket::K_VALUE;
Structs
- An entry that is not present in any bucket.
- The result of applying a pending node to a bucket, possibly replacing an existing node.
- A distance between two keys in the DHT keyspace.
- An immutable by-reference view of a bucket entry.
- A cloned, immutable view of an entry that is either present in a bucket or pending insertion.
- A reference to a bucket in a
KBucketsTable. - A
KBucketsTablerepresents a Kademlia routing table. - A
Keyin the DHT keyspace with preserved preimage. - The raw bytes of a key in the DHT keyspace.
- A
Nodein a bucket, representing a peer participating in the Kademlia DHT together with an associated value (e.g. contact information). - An immutable by-reference view of a
Node. - An entry waiting for a slot to be available in a bucket.
- An entry present in a bucket.
Enums
- A reference into a single entry of a
KBucketsTable. - The result of inserting an entry into a bucket.
- The status of a node in a bucket.