pub trait IntoEndpoint {
// Required method
fn into_endpoint(self) -> Result<Endpoint>;
}
Expand description
A trait for converting inputs to a server address object
Required Methods§
Sourcefn into_endpoint(self) -> Result<Endpoint>
fn into_endpoint(self) -> Result<Endpoint>
Converts an input into a server address object