Struct dht::Node
[−]
[src]
pub struct Node { pub address: SocketAddr, pub id: BigUint, }
Structure representing a node in system.
Every node has an address (IP and port) and a numeric ID, which is used to calculate metrics and look up data.
Fields
address: SocketAddr
Network address of the node.
id: BigUint
ID of the node.
Trait Implementations
impl Debug for Node
[src]
impl Clone for Node
[src]
fn clone(&self) -> Node
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more