Struct rustler::thread::ThreadSpawner [−][src]
pub struct ThreadSpawner;
Expand description
A JobSpawner
that uses a separate system thread for each job.
Trait Implementations
impl JobSpawner for ThreadSpawner
[src]
impl JobSpawner for ThreadSpawner
[src]fn spawn<F: FnOnce() + Send + UnwindSafe + 'static>(job: F)
[src]
fn spawn<F: FnOnce() + Send + UnwindSafe + 'static>(job: F)
[src]This delegates to std::thread::spawn()
.