fidl_fuchsia_processTrait LauncherProxyInterface
Source pub trait LauncherProxyInterface: Send + Sync {
type LaunchResponseFut: Future<Output = Result<(i32, Option<Process>), Error>> + Send;
type CreateWithoutStartingResponseFut: Future<Output = Result<(i32, Option<Box<ProcessStartData>>), Error>> + Send;
// Required methods
fn launch(&self, info: LaunchInfo) -> Self::LaunchResponseFut;
fn create_without_starting(
&self,
info: LaunchInfo,
) -> Self::CreateWithoutStartingResponseFut;
fn add_args(&self, args: &[Vec<u8>]) -> Result<(), Error>;
fn add_environs(&self, environ: &[Vec<u8>]) -> Result<(), Error>;
fn add_names(&self, names: Vec<NameInfo>) -> Result<(), Error>;
fn add_handles(&self, handles: Vec<HandleInfo>) -> Result<(), Error>;
fn set_options(&self, options: u32) -> Result<(), Error>;
}