()
| 249 | } |
| 250 | impl<K, V> Default for Node<K, V> { |
| 251 | fn default() -> Self { |
| 252 | Node { |
| 253 | keys: Vec::new(), |
| 254 | values: Vec::new(), |
| 255 | children: Vec::new(), |
| 256 | max_keys: 0, // Adjust this as necessary |
| 257 | node_type: NodeType::Leaf, // Or another appropriate default NodeType |
| 258 | offset: 0, |
| 259 | is_root: false, |
| 260 | parent_offset: None, |
| 261 | } |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | fn serialize_length(buffer: &mut Vec<u8>, length: u32) -> &Vec<u8> { |
nothing calls this directly
no outgoing calls
no test coverage detected