Skip to main content

DnsServerWatcherProxyInterface

Trait DnsServerWatcherProxyInterface 

Source
pub trait DnsServerWatcherProxyInterface: Send + Sync {
    type WatchServersResponseFut: Future<Output = Result<Vec<DnsServer_>, Error>> + Send;

    // Required method
    fn watch_servers(&self) -> Self::WatchServersResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§