Struct tokio_executor::Enter[][src]

pub struct Enter { /* fields omitted */ }

Represents an executor context.

For more details, see enter documentation

Methods

impl Enter
[src]

Register a callback to be invoked if and when the thread ceased to act as an executor.

Treat the remainder of execution on this thread as part of an executor; used mostly for thread pool worker threads.

All registered on_exit callbacks are dropped without being invoked.

Trait Implementations

impl Debug for Enter
[src]

Formats the value using the given formatter. Read more

impl Drop for Enter
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Enter

impl !Sync for Enter