pub trait ScopeExecutor {
// Required method
fn execute_in_scope<F, R>(&self, f: F) -> R
where F: FnOnce(&Scope<'_>) -> R + Send,
R: Send;
}Expand description
Helper trait for scope-based operations
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.