Struct libp2p_ping::PingEvent [−][src]
pub struct PingEvent {
pub peer: PeerId,
pub result: PingResult,
}Event generated by the Ping network behaviour.
Fields
peer: PeerIdThe peer ID of the remote.
result: PingResultThe result of an inbound or outbound ping.