Trait openraft::Node

source ·
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.

Implementors§

source§

impl<T> Node for T
where T: NodeEssential + Serialize + for<'a> Deserialize<'a>,