Function bind

Source
pub(crate) fn bind(socket: &TcpListener, addr: SocketAddr) -> Result<()>