Struct rust_asio::SystemTimer [] [src]

pub struct SystemTimer {
    // some fields omitted
}

Methods

impl SystemTimer
[src]

fn new() -> Self

Trait Implementations

impl WaitTimer for SystemTimer
[src]

type TimePoint = Tm

type Duration = Duration

fn wait_at(&self, time: &Self::TimePoint) -> Result<()>

fn async_wait_at<A, F, T>(a: A, time: &Self::TimePoint, callback: F, obj: &Strand<T>) where A: Fn(&T) -> &Self + Send + 'static, F: FnOnce(Strand<T>, Result<()>) + Send + 'static, T: 'static

fn wait_for(&self, time: &Self::Duration) -> Result<()>

fn async_wait_for<A, F, T>(a: A, time: &Self::Duration, callback: F, obj: &Strand<T>) where A: Fn(&T) -> &Self + Send + 'static, F: FnOnce(Strand<T>, Result<()>) + Send + 'static, T: 'static

impl Cancel for SystemTimer
[src]

fn cancel<A, T>(a: A, obj: &Strand<T>) where A: Fn(&T) -> &Self + 'static, T: 'static