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]

Create a new ArcExecutor from an Executor

This essentially wraps the given executor in an Arc

Trait Implementations

impl Clone for ArcExecutor
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Executor<Box<Future<Item = (), Error = ()> + Send>> for ArcExecutor
[src]

Spawns a future to run on this Executor, typically in the "background". Read more

Auto Trait Implementations

impl Send for ArcExecutor

impl Sync for ArcExecutor