searchState.loadedDescShard("critical_section", 0, "critical-section\nCritical section token.\nMethods required for a critical section implementation.\nA mutex based on critical sections.\nRaw, transparent “restore state”.\nOpaque “restore state”.\nAcquire a critical section in the current thread.\nAcquire the critical section.\nBorrows the data for the duration of the critical section.\nBorrow the data and call RefCell::borrow
\nBorrow the data and call RefCell::borrow_mut
\nReturns the argument unchanged.\nReturns the argument unchanged.\nReturns the argument unchanged.\nGets a mutable reference to the contained value when the …\nCalls U::from(self)
.\nCalls U::from(self)
.\nCalls U::from(self)
.\nUnwraps the contained value, consuming the mutex.\nCreate an invalid, dummy RestoreState
.\nCreates a new mutex.\nCreates a critical section token.\nRelease the critical section.\nRelease the critical section.\nBorrow the data and call RefCell::replace
\nBorrow the data and call RefCell::replace_with
\nSet the critical section implementation.\nBorrow the data and call RefCell::take
\nExecute closure f
in a critical section.")