Struct LocalEnterGuard
pub struct LocalEnterGuard { /* private fields */ }
Available on crate feature
rt only.Context guard for LocalSet
Trait Implementations
impl Debug for LocalEnterGuard
impl Drop for LocalEnterGuard
Auto Trait Implementations
impl !RefUnwindSafe for LocalEnterGuard
impl !Send for LocalEnterGuard
impl !Sync for LocalEnterGuard
impl !UnwindSafe for LocalEnterGuard
impl Freeze for LocalEnterGuard
impl Unpin for LocalEnterGuard
impl UnsafeUnpin for LocalEnterGuard
Blanket Implementations
impl<T> BorrowMut<T> for Twhere T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Instrument for T
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> WithSubscriber for T
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
MIT License
Copyright © Tokio Contributors
https://docs.rs/tokio/1.53.1/tokio/task/struct.LocalEnterGuard.html