ExecutorExt

Trait ExecutorExt 

Source
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§

Source

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.

Implementors§

Source§

impl<T> ExecutorExt for T
where T: ToolExecutor + ?Sized,