pub trait MonitorProxyInterface: Send + Sync {
type WatchResponseFut: Future<Output = Result<Snapshot, Error>> + Send;
// Required methods
fn set_options(&self, payload: &MonitorOptions) -> Result<(), Error>;
fn watch(&self) -> Self::WatchResponseFut;
}Required Associated Types§
Required Methods§
fn set_options(&self, payload: &MonitorOptions) -> Result<(), Error>
fn watch(&self) -> Self::WatchResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".