pub trait ClientProxyInterface: Send + Sync {
type WatchServersResponseFut: Future<Output = Result<Vec<DnsServer_>, Error>> + Send;
type WatchAddressResponseFut: Future<Output = Result<(Subnet, AddressParameters, ServerEnd<AddressStateProviderMarker>), Error>> + Send;
type WatchPrefixesResponseFut: Future<Output = Result<Vec<Prefix>, Error>> + Send;
type ShutdownResponseFut: Future<Output = Result<ClientShutdownResult, Error>> + Send;
// Required methods
fn watch_servers(&self) -> Self::WatchServersResponseFut;
fn watch_address(&self) -> Self::WatchAddressResponseFut;
fn watch_prefixes(&self) -> Self::WatchPrefixesResponseFut;
fn shutdown(&self) -> Self::ShutdownResponseFut;
}Required Associated Types§
type WatchServersResponseFut: Future<Output = Result<Vec<DnsServer_>, Error>> + Send
type WatchAddressResponseFut: Future<Output = Result<(Subnet, AddressParameters, ServerEnd<AddressStateProviderMarker>), Error>> + Send
type WatchPrefixesResponseFut: Future<Output = Result<Vec<Prefix>, Error>> + Send
type ShutdownResponseFut: Future<Output = Result<ClientShutdownResult, Error>> + Send
Required Methods§
fn watch_servers(&self) -> Self::WatchServersResponseFut
fn watch_address(&self) -> Self::WatchAddressResponseFut
fn watch_prefixes(&self) -> Self::WatchPrefixesResponseFut
fn shutdown(&self) -> Self::ShutdownResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".