Type Alias libp2p_ping::PingEvent
source · pub type PingEvent = Event;
👎Deprecated since 0.39.1: Use libp2p::ping::Event instead.
Aliased Type§
struct PingEvent {
pub peer: PeerId,
pub result: Result<Success, Failure>,
}
Fields§
§peer: PeerId
The peer ID of the remote.
result: Result<Success, Failure>
The result of an inbound or outbound ping.