pub trait ActivityGovernorListenerProxyInterface: Send + Sync {
    type OnResumeResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn on_resume(&self) -> Self::OnResumeResponseFut;
    fn on_suspend(&self) -> Result<(), Error>;
}

Required Associated Types§

source

type OnResumeResponseFut: Future<Output = Result<(), Error>> + Send

Required Methods§

source

fn on_resume(&self) -> Self::OnResumeResponseFut

source

fn on_suspend(&self) -> Result<(), Error>

Implementors§