[][src]Trait mozrunner::runner::Runner

pub trait Runner {
    type Process;
    fn arg<'a, S>(&'a mut self, arg: S) -> &'a mut Self
    where
        S: AsRef<OsStr>
;
fn args<'a, I, S>(&'a mut self, args: I) -> &'a mut Self
    where
        I: IntoIterator<Item = S>,
        S: AsRef<OsStr>
;
fn env<'a, K, V>(&'a mut self, key: K, value: V) -> &'a mut Self
    where
        K: AsRef<OsStr>,
        V: AsRef<OsStr>
;
fn envs<'a, I, K, V>(&'a mut self, envs: I) -> &'a mut Self
    where
        I: IntoIterator<Item = (K, V)>,
        K: AsRef<OsStr>,
        V: AsRef<OsStr>
;
fn stdout<'a, T>(&'a mut self, stdout: T) -> &'a mut Self
    where
        T: Into<Stdio>
;
fn stderr<'a, T>(&'a mut self, stderr: T) -> &'a mut Self
    where
        T: Into<Stdio>
;
fn start(self) -> Result<Self::Process, RunnerError>; }

Associated Types

type Process

Loading content...

Required methods

fn arg<'a, S>(&'a mut self, arg: S) -> &'a mut Self where
    S: AsRef<OsStr>, 

fn args<'a, I, S>(&'a mut self, args: I) -> &'a mut Self where
    I: IntoIterator<Item = S>,
    S: AsRef<OsStr>, 

fn env<'a, K, V>(&'a mut self, key: K, value: V) -> &'a mut Self where
    K: AsRef<OsStr>,
    V: AsRef<OsStr>, 

fn envs<'a, I, K, V>(&'a mut self, envs: I) -> &'a mut Self where
    I: IntoIterator<Item = (K, V)>,
    K: AsRef<OsStr>,
    V: AsRef<OsStr>, 

fn stdout<'a, T>(&'a mut self, stdout: T) -> &'a mut Self where
    T: Into<Stdio>, 

fn stderr<'a, T>(&'a mut self, stderr: T) -> &'a mut Self where
    T: Into<Stdio>, 

fn start(self) -> Result<Self::Process, RunnerError>

Loading content...

Implementors

impl Runner for FirefoxRunner
[src]

type Process = FirefoxProcess

Loading content...