pub trait OptionWatcherProxyInterface: Send + Sync {
type ProbeResponseFut: Future<Output = Result<(), Error>> + Send;
type WatchOptionsResponseFut: Future<Output = Result<(Vec<OptionWatchEntry>, u32), Error>> + Send;
// Required methods
fn probe(&self) -> Self::ProbeResponseFut;
fn watch_options(&self) -> Self::WatchOptionsResponseFut;
}Required Associated Types§
type ProbeResponseFut: Future<Output = Result<(), Error>> + Send
type WatchOptionsResponseFut: Future<Output = Result<(Vec<OptionWatchEntry>, u32), Error>> + Send
Required Methods§
fn probe(&self) -> Self::ProbeResponseFut
fn watch_options(&self) -> Self::WatchOptionsResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".