Type Alias libp2p_ping::PingSuccess

source ·
pub type PingSuccess = Success;
👎Deprecated since 0.39.1: Use libp2p::ping::Success instead.

Aliased Type§

enum PingSuccess {
    Pong,
    Ping {
        rtt: Duration,
    },
}

Variants§

§

Pong

Received a ping and sent back a pong.

§

Ping

Sent a ping and received back a pong.

Includes the round-trip time.

Fields