IntoConfig

Trait IntoConfig 

Source
pub trait IntoConfig {
    // Required method
    fn into_config(self) -> Result<Config>;
}
Expand description

A value-to-Config conversion that consumes the input value.

This allows the connect associated function of the client, or pooled client to accept connection information in a range of different formats.

Required Methods§

Source

fn into_config(self) -> Result<Config>

Converts this type into a Config.

Implementations on Foreign Types§

Source§

impl IntoConfig for &str

Source§

impl IntoConfig for String

Source§

impl IntoConfig for Url

Source§

impl<T: Into<String>> IntoConfig for (T, u16)

Implementors§