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