Trait oursh::program::Run

source ·
pub trait Run {
    // Required method
    fn run(&self, runtime: &mut Runtime<'_>) -> Result<WaitStatus>;
}

Required Methods§

source

fn run(&self, runtime: &mut Runtime<'_>) -> Result<WaitStatus>

Implementors§

source§

impl Run for oursh::program::posix::ast::Command

source§

impl Run for oursh::program::basic::Command

source§

impl<P: Program> Run for P