Struct kipa_lib::Node [−][src]
A node in the network
Fields
address: Address
The address of the node used for communicating with it
key: Key
The key of the node used for locating it
Methods
impl Node
[src]
impl Node
Trait Implementations
impl Into<Result<Node>> for Node
[src]
impl Into<Result<Node>> for Node
impl Clone for Node
[src]
impl Clone for Node
fn clone(&self) -> Node
[src]
fn clone(&self) -> Node
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Node
[src]
impl Eq for Node
impl PartialEq for Node
[src]
impl PartialEq for Node
fn eq(&self, other: &Node) -> bool
[src]
fn eq(&self, other: &Node) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Node) -> bool
[src]
fn ne(&self, other: &Node) -> bool
This method tests for !=
.
impl Hash for Node
[src]
impl Hash for Node
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for Node
[src]
impl Display for Node