pub async fn bind(address: &str) -> Result<TcpListener, ServerError>Expand description
Binds a TCP listener. Host names are resolved; the first address that binds successfully is used.
pub async fn bind(address: &str) -> Result<TcpListener, ServerError>Binds a TCP listener. Host names are resolved; the first address that binds successfully is used.