pub trait Latency { type Latency; type Error; fn set_latency(&mut self, latency: Self::Latency) -> Result<(), Self::Error>; }