fidl_fuchsia_virtualization

Trait 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;
}

Required Associated Types§

Required Methods§

Source

fn launch( &self, guest_config: GuestConfig, controller: ServerEnd<GuestMarker>, ) -> Self::LaunchResponseFut

Source

fn force_shutdown(&self) -> Self::ForceShutdownResponseFut

Source

fn connect( &self, controller: ServerEnd<GuestMarker>, ) -> Self::ConnectResponseFut

Source

fn get_info(&self) -> Self::GetInfoResponseFut

Implementors§