Skip to main content

OptionWatcherProxyInterface

Trait OptionWatcherProxyInterface 

Source
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§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§