Struct asyncio::clock::WaitableTimer
[−]
[src]
pub struct WaitableTimer<C> { /* fields omitted */ }
Methods
impl<C: Clock> WaitableTimer<C>
[src]
fn new<T: IoObject>(io: &T) -> WaitableTimer<C>
fn async_wait_at<F: Handler<()>>(&self, time: C::TimePoint, handler: F)
fn async_wait_for<F: Handler<()>>(&self, time: C::Duration, handler: F)
fn cancel(&self)
fn wait_at(&self, time: C::TimePoint) -> Result<()>
fn wait_for(&self, time: C::Duration) -> Result<()>
Trait Implementations
impl<C> IoObject for WaitableTimer<C>
[src]
fn io_service(&self) -> &IoService
Returns a IoService
associated with this object.