pub trait LatencyInfo { // Required methods fn latency(&self) -> f64; fn successful(&self) -> bool; }