(&mut self, node_id: u64)
| 217 | } |
| 218 | |
| 219 | pub fn get_node_mut(&mut self, node_id: u64) -> Option<&mut NodeInfo> { |
| 220 | self.nodes.get_mut(&node_id) |
| 221 | } |
| 222 | |
| 223 | /// Update a node's state. Bumps the version. |
| 224 | pub fn set_state(&mut self, node_id: u64, state: NodeState) -> bool { |
no test coverage detected