fidl_fuchsia_power_systemTrait ActivityGovernorListenerProxyInterface
Source pub trait ActivityGovernorListenerProxyInterface: Send + Sync {
type OnResumeResponseFut: Future<Output = Result<(), Error>> + Send;
type OnSuspendStartedResponseFut: Future<Output = Result<(), Error>> + Send;
type OnSuspendFailResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn on_resume(&self) -> Self::OnResumeResponseFut;
fn on_suspend_started(&self) -> Self::OnSuspendStartedResponseFut;
fn on_suspend_fail(&self) -> Self::OnSuspendFailResponseFut;
}