Struct comm::node_bucket::NodeBucket
[−]
[src]
pub struct NodeBucket { /* fields omitted */ }
pub struct NodeBucket { /* fields omitted */ }
impl NodeBucket
[src]pub fn new(k: usize) -> NodeBucket
[src]pub fn any_bad_nodes(&self) -> bool
[src]pub fn contains(&self, address: &Address) -> bool
[src]pub fn covers(&self, address: &Address) -> bool
[src]pub fn find_node(&mut self, address: &Address) -> Option<&mut Node>
[src]pub fn get_nodes(&mut self) -> Vec<&mut Node>
[src]pub fn questionable_nodes(&mut self) -> Vec<&mut Node>
[src]pub fn insert(&mut self, node: Node) -> InsertionResult
[src]pub fn is_full(&self) -> bool
[src]pub fn last_changed(&self) -> Tm
[src]pub fn needs_refresh(&self) -> bool
[src]pub fn random_address_in_space(&self) -> Address
[src]pub fn remove_worst_node(&mut self)
[src]pub fn split(self) -> (Self, Self)
[src]impl Debug for NodeBucket
[src]