Struct libp2p_ping::PingEvent [−][src]
pub struct PingEvent {
pub peer: PeerId,
pub result: PingResult,
}Expand description
Event generated by the Ping network behaviour.
Fields
peer: PeerIdThe peer ID of the remote.
result: PingResultThe result of an inbound or outbound ping.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PingEventimpl !UnwindSafe for PingEvent