add exact Ord and Eq to derivations on SafeReadWritePacket

This commit is contained in:
Daniella 2022-08-15 14:10:18 +02:00
parent b6b782bd1d
commit 071ace4f4a

View file

@ -8,7 +8,7 @@ use std::{
time::{Duration, SystemTime},
};
#[derive(PartialOrd, PartialEq)]
#[derive(Ord, Eq, PartialOrd, PartialEq)]
enum SafeReadWritePacket {
Write,
Ack,