pub trait ExecutorExt {
// Required methods
fn scoped(&self, path: impl Into<PathBuf>) -> ScopedExecutor<&Self>;
fn scoped_owned(self, path: impl Into<PathBuf>) -> ScopedExecutor<Self>
where Self: Sized;
}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.
fn scoped_owned(self, path: impl Into<PathBuf>) -> ScopedExecutor<Self>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".