Allow receiving diagnostic updates out of order
This commit is contained in:
parent
556d9cc53f
commit
bcd5c28833
4 changed files with 67 additions and 18 deletions
|
@ -5,7 +5,6 @@ use tempdir::TempDir;
|
|||
#[derive(Clone)]
|
||||
struct Envelope<T: Clone> {
|
||||
message: T,
|
||||
sender: ReplicaId,
|
||||
}
|
||||
|
||||
pub struct Network<T: Clone, R: rand::Rng> {
|
||||
|
@ -48,7 +47,6 @@ impl<T: Clone, R: rand::Rng> Network<T, R> {
|
|||
insertion_index,
|
||||
Envelope {
|
||||
message: message.clone(),
|
||||
sender,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue