register_endpoint

Function register_endpoint 

Source
async fn register_endpoint(bind_addr: SocketAddr) -> Result<Endpoint>
Expand description

Register an endpoint for the given bind address. Returns the endpoint (may be existing if already registered).