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

    // Required method
    fn on_state(&self, state: &State) -> Self::OnStateResponseFut;
}

Required Associated Types§

Required Methods§

source

fn on_state(&self, state: &State) -> Self::OnStateResponseFut

Implementors§