Struct rustydht_lib::common::Node [−][src]
pub struct Node {
pub id: Id,
pub address: SocketAddr,
}
Expand description
Represents a Node on the DHT network. A node has an Id and a SocketAddr.
Fields
id: Id
address: SocketAddr
Implementations
Creates a new Node from an id and socket address.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Node
impl UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more