Skip to main content

Module discovery

Module discovery 

Source
Expand description

Node discovery and membership. Peer discovery: StaticDiscovery (seed list) and GossipDiscovery (chitchat).

Re-exports§

pub use crate::state::NodeId;

Modules§

keys
Key namespace for chitchat key-value pairs.

Structs§

ArchivedNodeInfo
An archived NodeInfo
ArchivedNodeMetadata
An archived NodeMetadata
GossipDiscovery
Gossip-based discovery using the chitchat protocol.
GossipDiscoveryConfig
Configuration for gossip-based discovery.
NodeInfo
Full information about a discovered node.
NodeInfoResolver
The resolver for an archived NodeInfo
NodeMetadata
Hardware and deployment metadata for a node.
NodeMetadataResolver
The resolver for an archived NodeMetadata
StaticDiscovery
Static discovery implementation with TCP heartbeats.
StaticDiscoveryConfig
Configuration for static discovery.

Enums§

ArchivedNodeState
An archived NodeState
DiscoveryError
Errors that can occur during discovery operations.
MembershipEvent
A membership change event.
NodeState
Current lifecycle state of a node.
NodeStateResolver
The resolver for an archived NodeState

Traits§

Discovery
Trait for node discovery in a delta.