pub trait Node: NodeEssential + Serialize + for<'a> Deserialize<'a> { }
Expand description
A Raft Node
, this trait holds all relevant node information.
For the most generic case BasicNode
provides an example implementation including the node’s
network address, but the used Node
implementation can be customized to include additional
information.
Object Safety§
This trait is not object safe.