Type Definition lol_core::Id[][src]

pub type Id = String;
Expand description

Unique identifier of a Raft node.

Id must satisfy these two conditions:

  1. Id can identify a node in the cluster.
  2. any client or other nodes in the cluster can access this node by the Id.

Typically, the form of Id is (http|https)://(hostname|ip):port