mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 19:11:01 +00:00
Allow multiple SystemConnects to be handled from a single node in the shard
This commit is contained in:
@@ -69,4 +69,8 @@ impl <Details> AssignId<Details> where Details: Eq + Hash + Clone {
|
||||
pub fn clear(&mut self) {
|
||||
*self = AssignId::new()
|
||||
}
|
||||
|
||||
pub fn iter(&self) -> impl Iterator<Item = (Id, &Details)> {
|
||||
self.from_id.iter().map(|(id, details)| (*id, details))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user