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]

[src]

Returns a reference to the reactor handle.

[src]

Shutdown the reactor on idle.

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

[src]

Shutdown the reactor immediately

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

[src]

Run the reactor on its thread until the process terminates.

Trait Implementations

impl Debug for Background
[src]

[src]

Formats the value using the given formatter. Read more

impl Drop for Background
[src]

[src]

Executes the destructor for this type. Read more