Lines Matching refs:CallThreadState
430 let result = CallThreadState::new(store.0, old_state).with(|_cx| match store.0.executor() { in catch_traps()
535 pub struct CallThreadState { struct
563 impl Drop for CallThreadState { implementation
571 impl CallThreadState { implementation
576 ) -> CallThreadState { in new() argument
577 CallThreadState { in new()
719 impl CallThreadState { impl
721 fn with(mut self, closure: impl FnOnce(&CallThreadState) -> bool) -> Result<(), UnwindState> { in with()
1159 use super::CallThreadState;
1178 use super::CallThreadState;
1180 pub type Ptr = *const CallThreadState; constant
1183 assert!(core::mem::align_of::<CallThreadState>() > 1);
1431 pub fn set<R>(state: &mut CallThreadState, closure: impl FnOnce(&CallThreadState) -> R) -> R { in set() argument
1433 state: &'a CallThreadState, in set()
1453 pub fn with<R>(closure: impl FnOnce(Option<&CallThreadState>) -> R) -> R { in with()