Trait s2n_netbench::timer::Timer
source · pub trait Timer {
// Required methods
fn now(&self) -> Timestamp;
fn poll(&mut self, target: Timestamp, cx: &mut Context<'_>) -> Poll<()>;
}
pub trait Timer {
// Required methods
fn now(&self) -> Timestamp;
fn poll(&mut self, target: Timestamp, cx: &mut Context<'_>) -> Poll<()>;
}