Struct hash_ring::NodeInfo
[−]
[src]
pub struct NodeInfo { pub host: &'static str, pub port: u16, }
As a convenience, rust-hash-ring provides a default struct to hold node information. It is optional and you can define your own.
Fields
host: &'static str
port: u16
Trait Implementations
impl Clone for NodeInfo
[src]
fn clone(&self) -> NodeInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more