pub trait MonitorProxyInterface: Send + Sync {
type OnStateResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_state(&self, state: &State) -> Self::OnStateResponseFut;
}
pub trait MonitorProxyInterface: Send + Sync {
type OnStateResponseFut: Future<Output = Result<(), Error>> + Send;
// Required method
fn on_state(&self, state: &State) -> Self::OnStateResponseFut;
}