Struct tokio::runtime::EnterGuard [−][src]
pub struct EnterGuard<'a> { /* fields omitted */ }This is supported on crate feature
rt only.Expand description
Runtime context guard.
Returned by Runtime::enter and Handle::enter, the context guard exits
the runtime context on drop.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for EnterGuard<'a>impl<'a> Send for EnterGuard<'a>impl<'a> Sync for EnterGuard<'a>impl<'a> Unpin for EnterGuard<'a>impl<'a> !UnwindSafe for EnterGuard<'a>