fidl_fuchsia_starnix_runner

Trait ManagerProxyInterface

Source
pub trait ManagerProxyInterface: Send + Sync {
    type SuspendResponseFut: Future<Output = Result<(), Error>> + Send;
    type SuspendContainerResponseFut: Future<Output = Result<ManagerSuspendContainerResult, Error>> + Send;

    // Required methods
    fn suspend(
        &self,
        payload: &ManagerSuspendRequest,
    ) -> Self::SuspendResponseFut;
    fn resume(&self, payload: &ManagerResumeRequest) -> Result<(), Error>;
    fn suspend_container(
        &self,
        payload: ManagerSuspendContainerRequest,
    ) -> Self::SuspendContainerResponseFut;
    fn proxy_wake_channel(
        &self,
        payload: ManagerProxyWakeChannelRequest,
    ) -> Result<(), Error>;
}

Required Associated Types§

Required Methods§

Implementors§