Skip to main content

ExecutorExt

Trait ExecutorExt 

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

Source

fn scoped(&self, path: impl Into<PathBuf>) -> ScopedExecutor<&Self>

Borrow self and return a wrapper that resolves relative operations inside path.

Source

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".

Implementors§

Source§

impl<T> ExecutorExt for T
where T: ToolExecutor,