Trait async_interval::Intervalable
source · pub trait Intervalable {
fn interval(dur: Duration) -> Self;
fn wait<'a>(&'a mut self) -> Pin<Box<dyn Future<Output = ()> + Send + 'a>>;
fn wait_for_std<'a>(
&'a mut self
) -> Pin<Box<dyn Future<Output = Option<Instant>> + Send + 'a>>;
}