Struct timer::TimerBase
[−]
[src]
pub struct TimerBase<T> where
T: 'static + Send, { /* fields omitted */ }
Shared coordination logic for timer threads.
Methods
impl<T> TimerBase<T> where
T: 'static + Send,
[src]
T: 'static + Send,
fn schedule_with_delay(&self, delay: Duration, data: T) -> Guard
[src]
fn schedule_with_date<D>(&self, date: DateTime<D>, data: T) -> Guard where
D: TimeZone,
[src]
D: TimeZone,
fn schedule_repeating(&self, repeat: Duration, data: T) -> Guard
[src]
fn schedule<D>(
&self,
date: DateTime<D>,
repeat: Option<Duration>,
data: T
) -> Guard where
D: TimeZone,
[src]
&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,
[src]
T: 'static + Send,