pub trait NodeInfo: 'static + Clone + Debug + Send + Sync {
    type Id: Identifier;

    fn id(&self) -> Self::Id;
}
Expand description

Describes a node in a Paxakos cluster.

Beyond an identifier, a NodeInfo implementation provides all the information necessary to communicate with that node, typically a hostname and a (TCP) port.

Required Associated Types

Identifier of this node.

Required Methods

A unique identifier for this node.

Implementations on Foreign Types

To toy around with a single node cluster.

Implementors