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§
Sourcetype Client: Connection
type Client: Connection
The client implied by this scheme and address combination
Required Methods§
Sourcefn into_endpoint(self) -> Result<Endpoint>
fn into_endpoint(self) -> Result<Endpoint>
Converts an input into a server address object