fidl_fuchsia_virtualizationTrait GuestLifecycleProxyInterface
Source pub trait GuestLifecycleProxyInterface: Send + Sync {
type CreateResponseFut: Future<Output = Result<GuestLifecycleCreateResult, Error>> + Send;
type RunResponseFut: Future<Output = Result<GuestLifecycleRunResult, Error>> + Send;
type StopResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn create(&self, guest_config: GuestConfig) -> Self::CreateResponseFut;
fn bind(&self, guest: ServerEnd<GuestMarker>) -> Result<(), Error>;
fn run(&self) -> Self::RunResponseFut;
fn stop(&self) -> Self::StopResponseFut;
}