Enum libp2p_ping::Success
source · [−]pub enum Success {
Pong,
Ping {
rtt: Duration,
},
}
Expand description
The successful result of processing an inbound or outbound ping.
Variants
Pong
Received a ping and sent back a pong.
Ping
Fields
rtt: Duration
Sent a ping and received back a pong.
Includes the round-trip time.