Struct syncbox::ScheduledThreadPool [] [src]

pub struct ScheduledThreadPool { /* fields omitted */ }

A thread pool that can schedule tasks to run after a given delay, or to execute periodically. Delayed tasks do not run before their associated delays, but besides that, there are no real-time guarantees about exactly when the task will run.

Methods

impl ScheduledThreadPool
[src]

Trait Implementations

impl<T: Task + 'static> Run<T> for ScheduledThreadPool
[src]

Runs the task on the underlying executor.

impl Clone for ScheduledThreadPool
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more