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]

[src]

Create a new ArcExecutor from an Executor

This essentially wraps the given executor in an Arc

Trait Implementations

impl Clone for ArcExecutor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[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