pub enum Executor<'a> {
Command(&'a Interpreter<'a>),
Shebang(Shebang<'a>),
}
Variantsยง
Command(&'a Interpreter<'a>)
Shebang(Shebang<'a>)
Implementationsยง
Sourceยงimpl<'a> Executor<'a>
impl<'a> Executor<'a>
pub fn command<'src>( &self, path: &Path, recipe: &'src str, working_directory: Option<&Path>, ) -> RunResult<'src, Command>
pub fn script_filename(&self, recipe: &str, extension: Option<&str>) -> String
pub fn error<'src>(&self, io_error: Error, recipe: &'src str) -> Error<'src>
pub fn script<D>(&self, recipe: &Recipe<'_, D>, lines: &[String]) -> String
Auto Trait Implementationsยง
impl<'a> Freeze for Executor<'a>
impl<'a> RefUnwindSafe for Executor<'a>
impl<'a> Send for Executor<'a>
impl<'a> Sync for Executor<'a>
impl<'a> Unpin for Executor<'a>
impl<'a> UnwindSafe for Executor<'a>
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more