Struct asyncio::WaitableTimer
[−]
[src]
pub struct WaitableTimer<C> { /* fields omitted */ }Provides waitable timer functionality.
pub struct WaitableTimer<C> { /* fields omitted */ }Provides waitable timer functionality.
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>fn cancel(&self) -> &Selffn expires_at(&self, expiry_time: C::TimePoint) -> &Selffn expires_from_now(&self, expiry_time: C::Duration) -> &Selfimpl<C> Send for WaitableTimer<C>[src]impl<C> AsIoContext for WaitableTimer<C>[src]impl Debug for WaitableTimer<SteadyClock>[src]impl Debug for WaitableTimer<SystemClock>[src]