Struct raft::raw_node::Peer [−][src]
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for Peer
impl UnwindSafe for Peer