Skip to main content

NodeId

Type Alias NodeId 

Source
pub type NodeId = u64;
Expand description

Identifier for a node in the cluster.

Identifiers are opaque to the protocol; any scheme is fine as long as each node in a cluster has a distinct, stable value. A plain integer keeps the common case allocation-free and Copy.