pub fn exa_custom(&mut self, script: &str, host: &str, mode: Mode) -> Shared<Exa<'a>> {
        let host = self.vm.borrow().hosts.get(host).unwrap().clone();
        let mut name = String::from("x");
        name.push_str(&self.spawned.to_string());
        self.spawned += 1;
        let e = Exa::spawn(
            &mut self.vm.clone().borrow_mut(),
            host,
            name,
            self.redshift,
            script,
        )
        .unwrap();
        e.borrow_mut().mode = mode;
        e
    }
/// Spawn an Exa, with all available options.
Spawn an Exa, with all available options.
Spawn an Exa with all available options .
pub fn exa_custom(&mut self, script: &str, host: &str, mode: Mode) -> Shared<Exa<'a>> {
        let host = self.vm.borrow().hosts.get(host).unwrap().clone();
        let mut name = String::from("x");
        name.push_str(&self.spawned.to_string());
        self.spawned += 1;
        let e = Exa::spawn(
            &mut self.vm.clone().borrow_mut(),
            host,
            name,
            self.redshift,
            script,
        )
        .unwrap();
        e.borrow_mut().mode = mode;
        e
    }
pub fn exa_custom ( & mut self , script : & str , host : & str , mode : Mode ) -> Shared < Exa < ' a > > { let host = self . vm . borrow ( ) . hosts . get ( host ) . unwrap ( ) . clone ( ) ; let mut name = String :: from ( " " ) ; name . push_str ( & self . spawned . to_string ( ) ) ; self . spawned += 1 ; let e = Exa :: spawn ( & mut self . vm . clone ( ) . borrow_mut ( ) , host , name , self . redshift , script , ) . unwrap ( ) ; e . borrow_mut ( ) . mode = mode ; e }
Spawn an Exa, with all available options.
Spawn an Exa with all available options .
&mut self
script
&str
host
&str
mode
Mode
&mut self
script
&str
host
&str
mode
Mode