pub fn split_host_port(
endpoint: &str,
default_port: u16,
) -> Result<(String, u16), EndpointError>Expand description
As split_host_port_opt, substituting default_port when the endpoint
names only a host.
pub fn split_host_port(
endpoint: &str,
default_port: u16,
) -> Result<(String, u16), EndpointError>As split_host_port_opt, substituting default_port when the endpoint
names only a host.