fidl_fuchsia_sessionTrait LifecycleProxyInterface
Source pub trait LifecycleProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<LifecycleStartResult, Error>> + Send;
type StopResponseFut: Future<Output = Result<LifecycleStopResult, Error>> + Send;
type RestartResponseFut: Future<Output = Result<LifecycleRestartResult, Error>> + Send;
// Required methods
fn start(&self, payload: &LifecycleStartRequest) -> Self::StartResponseFut;
fn stop(&self) -> Self::StopResponseFut;
fn restart(&self) -> Self::RestartResponseFut;
}