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§
Sourcefn into_config(self) -> Result<Config>
fn into_config(self) -> Result<Config>
Converts this type into a Config.