[−][src]Trait threader::executor::Executor
A trait which includes a spawning method common to all future executors.
Required methods
fn spawn(&self, future: F)
Spawns a future on this executor. In general, this method should not fail or panic, but this is left up to whatever is implementing the trait.
Implementors
impl<F> Executor<F> for ThreadPool where
F: Future<Output = ()> + Send + 'static,
[src]
F: Future<Output = ()> + Send + 'static,