use std::{future::Future, time::Duration};
pub trait Timer: Future {
fn new(duration: Duration) -> Self;
}
pub trait TimerWithContext: Timer {
type Context;
fn new_with_context<C>(duration: Duration, context: C) -> Self
where
C: AsMut<Self::Context>;
}
pub mod hashed;