MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / get_node

Method get_node

nodedb-cluster/src/topology.rs:215–217  ·  view source on GitHub ↗
(&self, node_id: u64)

Source from the content-addressed store, hash-verified

213 }
214
215 pub fn get_node(&self, node_id: u64) -> Option<&NodeInfo> {
216 self.nodes.get(&node_id)
217 }
218
219 pub fn get_node_mut(&mut self, node_id: u64) -> Option<&mut NodeInfo> {
220 self.nodes.get_mut(&node_id)

Callers 15

handle_pongMethod · 0.80
record_ping_failureMethod · 0.80
is_safe_to_removeFunction · 0.80
handle_learner_promotionFunction · 0.80
is_target_reachableFunction · 0.80
check_onceMethod · 0.80
check_can_decommissionFunction · 0.80
startMethod · 0.80
join_flowMethod · 0.80
forward_data_proposeMethod · 0.80
phase1_base_copyFunction · 0.80

Calls 1

getMethod · 0.45