Returns whether the identified replica exists.
(&self, id: ReplicaId)
| 440 | |
| 441 | /// Returns whether the identified replica exists. |
| 442 | fn replica_exists(&self, id: ReplicaId) -> bool { |
| 443 | self.replicas.contains_key(&id) |
| 444 | } |
| 445 | |
| 446 | /// Return the IDs of pending peeks targeting the specified replica. |
| 447 | fn peeks_targeting(&self, replica_id: ReplicaId) -> impl Iterator<Item = (Uuid, &PendingPeek)> { |
no test coverage detected