Skip to main content

DnsOpen

Trait DnsOpen 

Source
pub trait DnsOpen: Clone {
    type Client: ClientHandle;

    // Required method
    fn open(&mut self, runtime: RuntimeHandle, addr: SocketAddr) -> Self::Client;
}

Required Associated Types§

Required Methods§

Source

fn open(&mut self, runtime: RuntimeHandle, addr: SocketAddr) -> Self::Client

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§