Skip to main content

SvcDirectoryWatcherProxyInterface

Trait SvcDirectoryWatcherProxyInterface 

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§