Struct raft::raw_node::Peer [−][src]
Represents a Peer node in the cluster.
Fields
id: u64
The ID of the peer.
context: Option<Vec<u8>>
If there is context associated with the peer (like connection information), it can be serialized and stored here.
Trait Implementations
impl Debug for Peer
[src]
impl Debug for Peer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Peer
[src]
impl Default for Peer