pub trait ExecutorExt {
// Required method
fn scoped(&self, path: impl Into<PathBuf>) -> ScopedExecutor<&Self>;
}Expand description
Convenience methods for scoping executors without cloning them.
Required Methods§
Sourcefn scoped(&self, path: impl Into<PathBuf>) -> ScopedExecutor<&Self>
fn scoped(&self, path: impl Into<PathBuf>) -> ScopedExecutor<&Self>
Borrow self and return a wrapper that resolves relative operations inside path.
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.