Trait IntoEndpoint

Source
pub trait IntoEndpoint<Scheme> {
    type Client: Connection;

    // Required method
    fn into_endpoint(self) -> Result<Endpoint>;
}
Expand description

A trait for converting inputs to a server address object

Required Associated Types§

Source

type Client: Connection

The client implied by this scheme and address combination

Required Methods§

Source

fn into_endpoint(self) -> Result<Endpoint>

Converts an input into a server address object

Implementations on Foreign Types§

Source§

impl IntoEndpoint<File> for &str

Source§

impl IntoEndpoint<File> for &String

Source§

impl IntoEndpoint<File> for &Path

Source§

impl IntoEndpoint<File> for (&str, Config)

Source§

impl IntoEndpoint<File> for (&String, Config)

Source§

impl IntoEndpoint<File> for (&Path, Config)

Source§

impl IntoEndpoint<File> for (String, Config)

Source§

impl IntoEndpoint<File> for (PathBuf, Config)

Source§

impl IntoEndpoint<File> for String

Source§

impl IntoEndpoint<File> for PathBuf

Source§

impl IntoEndpoint<Mem> for ()

Source§

impl IntoEndpoint<RocksDb> for &str

Source§

impl IntoEndpoint<RocksDb> for &String

Source§

impl IntoEndpoint<RocksDb> for &Path

Source§

impl IntoEndpoint<RocksDb> for (&str, Config)

Source§

impl IntoEndpoint<RocksDb> for (&String, Config)

Source§

impl IntoEndpoint<RocksDb> for (&Path, Config)

Source§

impl IntoEndpoint<RocksDb> for (String, Config)

Source§

impl IntoEndpoint<RocksDb> for (PathBuf, Config)

Source§

impl IntoEndpoint<RocksDb> for String

Source§

impl IntoEndpoint<RocksDb> for PathBuf

Source§

impl IntoEndpoint<Http> for &str

Source§

impl IntoEndpoint<Http> for &String

Source§

impl IntoEndpoint<Http> for (&str, Config)

Source§

impl IntoEndpoint<Http> for (&String, Config)

Source§

impl IntoEndpoint<Http> for (SocketAddr, Config)

Source§

impl IntoEndpoint<Http> for (String, Config)

Source§

impl IntoEndpoint<Http> for SocketAddr

Source§

impl IntoEndpoint<Http> for String

Source§

impl IntoEndpoint<Https> for &str

Source§

impl IntoEndpoint<Https> for &String

Source§

impl IntoEndpoint<Https> for (&str, Config)

Source§

impl IntoEndpoint<Https> for (&String, Config)

Source§

impl IntoEndpoint<Https> for (SocketAddr, Config)

Source§

impl IntoEndpoint<Https> for (String, Config)

Source§

impl IntoEndpoint<Https> for SocketAddr

Source§

impl IntoEndpoint<Https> for String

Source§

impl IntoEndpoint<Ws> for &str

Source§

impl IntoEndpoint<Ws> for &String

Source§

impl IntoEndpoint<Ws> for (&str, Config)

Source§

impl IntoEndpoint<Ws> for (&String, Config)

Source§

impl IntoEndpoint<Ws> for (SocketAddr, Config)

Source§

impl IntoEndpoint<Ws> for (String, Config)

Source§

impl IntoEndpoint<Ws> for SocketAddr

Source§

impl IntoEndpoint<Ws> for String

Source§

impl IntoEndpoint<Wss> for &str

Source§

impl IntoEndpoint<Wss> for &String

Source§

impl IntoEndpoint<Wss> for (&str, Config)

Source§

impl IntoEndpoint<Wss> for (&String, Config)

Source§

impl IntoEndpoint<Wss> for (SocketAddr, Config)

Source§

impl IntoEndpoint<Wss> for (String, Config)

Source§

impl IntoEndpoint<Wss> for SocketAddr

Source§

impl IntoEndpoint<Wss> for String

Implementors§