hickory_proto::rustls

Function client_config

Source
pub fn client_config() -> Result<ClientConfig, Box<dyn Error>>
Available on crate feature dns-over-rustls only.
Expand description

Make a new ClientConfig with the default settings