pub trait IntoConnectionInfo {
    // Required method
    fn into_connection_info(self) -> MSResult<ConnectionInfo>;
}
Expand description

Converts an object into a ConnectionInfo struct. This allows the constructor of the client to accept a file path or an URL in a range of different formats.

Required Methods§

source

fn into_connection_info(self) -> MSResult<ConnectionInfo>

Converts the object into a connection info object.

Implementations on Foreign Types§

source§

impl IntoConnectionInfo for String

source§

impl IntoConnectionInfo for PathBuf

source§

impl IntoConnectionInfo for Url

source§

impl<'a> IntoConnectionInfo for &'a str

source§

impl<'a> IntoConnectionInfo for &'a Path

Implementors§