Struct timer::TimerBase [] [src]

pub struct TimerBase<T> where T: 'static + Send {
    // some fields omitted
}

Shared coordination logic for timer threads.

Methods

impl<T> TimerBase<T> where T: 'static + Send

fn schedule_with_delay(&self, delay: Duration, data: T) -> Guard

fn schedule_with_date<D>(&self, date: DateTime<D>, data: T) -> Guard where D: TimeZone

fn schedule_repeating(&self, repeat: Duration, data: T) -> Guard

fn schedule<D>(&self, date: DateTime<D>, repeat: Option<Duration>, data: T) -> Guard where D: TimeZone

Trait Implementations

impl<T> Drop for TimerBase<T> where T: 'static + Send

fn drop(&mut self)