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