Struct tokio::task::local::LocalDataEnterGuard
source · struct LocalDataEnterGuard<'a> {
local_data_ref: &'a LocalData,
ctx: Option<Rc<Context>>,
wake_on_schedule: bool,
}
Expand description
A guard for LocalData::enter()
Fields§
§local_data_ref: &'a LocalData
§ctx: Option<Rc<Context>>
§wake_on_schedule: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LocalDataEnterGuard<'a>
impl<'a> !RefUnwindSafe for LocalDataEnterGuard<'a>
impl<'a> !Send for LocalDataEnterGuard<'a>
impl<'a> !Sync for LocalDataEnterGuard<'a>
impl<'a> Unpin for LocalDataEnterGuard<'a>
impl<'a> !UnwindSafe for LocalDataEnterGuard<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more