Struct wasmer_vbus::SpawnOptions
source · pub struct SpawnOptions { /* private fields */ }
Implementations§
source§impl SpawnOptions
impl SpawnOptions
pub fn new(spawner: Box<dyn VirtualBusSpawner>) -> Self
pub fn options(&mut self, options: SpawnOptionsConfig) -> &mut Self
pub fn reuse(&mut self, reuse: bool) -> &mut Self
pub fn chroot(&mut self, chroot: bool) -> &mut Self
pub fn args(&mut self, args: Vec<String>) -> &mut Self
pub fn preopen(&mut self, preopen: Vec<String>) -> &mut Self
pub fn stdin_mode(&mut self, stdin_mode: StdioMode) -> &mut Self
pub fn stdout_mode(&mut self, stdout_mode: StdioMode) -> &mut Self
pub fn stderr_mode(&mut self, stderr_mode: StdioMode) -> &mut Self
pub fn working_dir(&mut self, working_dir: String) -> &mut Self
pub fn remote_instance(&mut self, remote_instance: String) -> &mut Self
pub fn access_token(&mut self, access_token: String) -> &mut Self
sourcepub fn spawn(&mut self, name: &str) -> Result<BusSpawnedProcess>
pub fn spawn(&mut self, name: &str) -> Result<BusSpawnedProcess>
Spawns a new bus instance by its reference name