fidl_fuchsia_virtualizationTrait ZirconGuestManagerProxyInterface
Source pub trait ZirconGuestManagerProxyInterface: Send + Sync {
type LaunchResponseFut: Future<Output = Result<GuestManagerLaunchResult, Error>> + Send;
type ForceShutdownResponseFut: Future<Output = Result<(), Error>> + Send;
type ConnectResponseFut: Future<Output = Result<GuestManagerConnectResult, Error>> + Send;
type GetInfoResponseFut: Future<Output = Result<GuestInfo, Error>> + Send;
// Required methods
fn launch(
&self,
guest_config: GuestConfig,
controller: ServerEnd<GuestMarker>,
) -> Self::LaunchResponseFut;
fn force_shutdown(&self) -> Self::ForceShutdownResponseFut;
fn connect(
&self,
controller: ServerEnd<GuestMarker>,
) -> Self::ConnectResponseFut;
fn get_info(&self) -> Self::GetInfoResponseFut;
}