Struct asio::clock::WaitTimer [] [src]

pub struct WaitTimer<C> {
    // some fields omitted
}

Methods

impl<C: Clock> WaitTimer<C>
[src]

fn new<T: IoObject>(io: &T) -> WaitTimer<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 WaitTimer<C>
[src]

fn io_service(&self) -> &IoService

Returns a IoService associated with this object.