pub fn exa(&mut self, script: &str) -> Shared<Exa<'a>> {
        let name = if self.redshift { "core" } else { "start" };
        let host = self.vm.borrow().hosts.get(name).unwrap().clone();
        let mut name = String::from("x");
        name.push_str(&self.spawned.to_string());
        self.spawned += 1;
        Exa::spawn(
            &mut self.vm.clone().borrow_mut(),
            host,
            name,
            self.redshift,
            script,
        )
        .unwrap()
    }
/// Spawn an Exa in the first host.
Spawn an Exa in the first host.
Spawn an Exa in the first host .
pub fn exa(&mut self, script: &str) -> Shared<Exa<'a>> {
        let name = if self.redshift { "core" } else { "start" };
        let host = self.vm.borrow().hosts.get(name).unwrap().clone();
        let mut name = String::from("x");
        name.push_str(&self.spawned.to_string());
        self.spawned += 1;
        Exa::spawn(
            &mut self.vm.clone().borrow_mut(),
            host,
            name,
            self.redshift,
            script,
        )
        .unwrap()
    }
pub fn exa ( & mut self , script : & str ) -> Shared < Exa < ' a > > { let name = if self . redshift { " " } else { " " } ; let host = self . vm . borrow ( ) . hosts . get ( name ) . unwrap ( ) . clone ( ) ; let mut name = String :: from ( " " ) ; name . push_str ( & self . spawned . to_string ( ) ) ; self . spawned += 1 ; Exa :: spawn ( & mut self . vm . clone ( ) . borrow_mut ( ) , host , name , self . redshift , script , ) . unwrap ( ) }
Spawn an Exa in the first host.
Spawn an Exa in the first host .
&mut self
script
&str
&mut self
script
&str