pub trait ReplayDetector { // Required methods fn check(&mut self, seq: u64) -> bool; fn accept(&mut self); }