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) -> &Self
fn expires_at(&self, expiry_time: C::TimePoint) -> &Self
fn expires_from_now(&self, expiry_time: C::Duration) -> &Self
impl<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]