Struct asyncio::WaitableTimer
[−]
[src]
pub struct WaitableTimer<C> { /* fields omitted */ }
Provides waitable timer functionality.
Methods
impl<C: Clock> WaitableTimer<C>
[src]
fn new(ctx: &IoContext) -> WaitableTimer<C>
fn async_wait<F>(&self, handler: F) -> F::Output where
F: Handler<(), Error>,
F: Handler<(), Error>,