Struct form_data::ArcExecutor
[−]
[src]
pub struct ArcExecutor { /* fields omitted */ }
The executor type stored inside a Form
Any executor capable of being shared and executing boxed futures can be stored here.
Methods
impl ArcExecutor
[src]
pub fn new<E>(executor: E) -> Self where
E: Executor<Box<Future<Item = (), Error = ()> + Send>> + Send + Sync + Clone + 'static,
[src]
E: Executor<Box<Future<Item = (), Error = ()> + Send>> + Send + Sync + Clone + 'static,
Create a new ArcExecutor from an Executor
This essentially wraps the given executor in an Arc
Trait Implementations
impl Clone for ArcExecutor
[src]
fn clone(&self) -> ArcExecutor
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more