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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.