Struct fibers::executor::ThreadPoolExecutorHandle [] [src]

pub struct ThreadPoolExecutorHandle { /* fields omitted */ }

A handle of a ThreadPoolExecutor instance.

Trait Implementations

impl Debug for ThreadPoolExecutorHandle
[src]

Formats the value using the given formatter.

impl Clone for ThreadPoolExecutorHandle
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Spawn for ThreadPoolExecutorHandle
[src]

Spawns a fiber which will execute given boxed future.

Spawns a fiber which will execute given future.

Equivalent to self.spawn(futures::lazy(|| f())).

Spawns a fiber and returns a future to monitor it's execution result.

Spawns a linked fiber. Read more

Converts this instance into a boxed object.