fidl_fuchsia_starnix_container

Trait ControllerProxyInterface

Source
pub trait ControllerProxyInterface: Send + Sync {
    type SpawnConsoleResponseFut: Future<Output = Result<ControllerSpawnConsoleResult, Error>> + Send;
    type GetVmoReferencesResponseFut: Future<Output = Result<ControllerGetVmoReferencesResponse, Error>> + Send;
    type GetJobHandleResponseFut: Future<Output = Result<ControllerGetJobHandleResponse, Error>> + Send;

    // Required methods
    fn vsock_connect(
        &self,
        payload: ControllerVsockConnectRequest,
    ) -> Result<(), Error>;
    fn spawn_console(
        &self,
        payload: ControllerSpawnConsoleRequest,
    ) -> Self::SpawnConsoleResponseFut;
    fn get_vmo_references(
        &self,
        payload: &ControllerGetVmoReferencesRequest,
    ) -> Self::GetVmoReferencesResponseFut;
    fn get_job_handle(&self) -> Self::GetJobHandleResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§