[][src]Function libp2p_ping::protocol::recv_ping

pub async fn recv_ping<S>(__arg0: S) -> Result<S> where
    S: AsyncRead + AsyncWrite + Unpin

Waits for a ping and sends a pong.