pub trait PrefixControlProxyInterface: Send + Sync {
type WatchPrefixResponseFut: Future<Output = Result<PrefixEvent, Error>> + Send;
// Required method
fn watch_prefix(&self) -> Self::WatchPrefixResponseFut;
}Required Associated Types§
type WatchPrefixResponseFut: Future<Output = Result<PrefixEvent, Error>> + Send
Required Methods§
fn watch_prefix(&self) -> Self::WatchPrefixResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".