fidl_fuchsia_virtualizationTrait GuestProxyInterface
Source pub trait GuestProxyInterface: Send + Sync {
type GetConsoleResponseFut: Future<Output = Result<GuestGetConsoleResult, Error>> + Send;
type GetSerialResponseFut: Future<Output = Result<Socket, Error>> + Send;
type GetHostVsockEndpointResponseFut: Future<Output = Result<GuestGetHostVsockEndpointResult, Error>> + Send;
type GetBalloonControllerResponseFut: Future<Output = Result<GuestGetBalloonControllerResult, Error>> + Send;
type GetMemControllerResponseFut: Future<Output = Result<GuestGetMemControllerResult, Error>> + Send;
// Required methods
fn get_console(&self) -> Self::GetConsoleResponseFut;
fn get_serial(&self) -> Self::GetSerialResponseFut;
fn get_host_vsock_endpoint(
&self,
endpoint: ServerEnd<HostVsockEndpointMarker>,
) -> Self::GetHostVsockEndpointResponseFut;
fn get_balloon_controller(
&self,
controller: ServerEnd<BalloonControllerMarker>,
) -> Self::GetBalloonControllerResponseFut;
fn get_mem_controller(
&self,
controller: ServerEnd<MemControllerMarker>,
) -> Self::GetMemControllerResponseFut;
}