Closed willothy closed 3 weeks ago
[!IMPORTANT] Add Iter struct and implement Iterator trait for ShardMap to support iteration over key-value pairs. Behavior: Add Iter struct in src/iter.rs to iterate over ShardMap key-value pairs. Implement Iterator trait for Iter to support iteration. Add iter() method to ShardMap in src/shard_map.rs to return an Iter instance. Tests: Add test_iter and test_iter_empty in src/iter.rs to verify iterator functionality. Misc: Add read_sync() and write_sync() methods to Shard in src/shard.rs for synchronous access. Remove path filters from .github/workflows/rust.yml for pull requests. This description was created by for bf7ffd833af6bd699e95579b600cfce005a03f7c. It will automatically update as commits are pushed.
[!IMPORTANT] Add Iter struct and implement Iterator trait for ShardMap to support iteration over key-value pairs.
Iter
Iterator
ShardMap
src/iter.rs
iter()
src/shard_map.rs
test_iter
test_iter_empty
read_sync()
write_sync()
Shard
src/shard.rs
.github/workflows/rust.yml
This description was created by for bf7ffd833af6bd699e95579b600cfce005a03f7c. It will automatically update as commits are pushed.