Struct tokio_reactor::Background[][src]

pub struct Background { /* fields omitted */ }

Handle to the reactor running on a background thread.

Instances are created by calling Reactor::background.

Methods

impl Background
[src]

Returns a reference to the reactor handle.

Shutdown the reactor on idle.

Returns a future that completes once the reactor thread has shutdown.

Shutdown the reactor immediately

Returns a future that completes once the reactor thread has shutdown.

Run the reactor on its thread until the process terminates.

Trait Implementations

impl Debug for Background
[src]

Formats the value using the given formatter. Read more

impl Drop for Background
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Background

impl Sync for Background