mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
protocols/ping: Properly deprecate types with Ping
prefix (#2937)
Co-authored-by: Elena Frank <elena.frank@protonmail.com> Co-authored-by: João Oliveira <hello@jxs.pt>
This commit is contained in:
@ -126,8 +126,8 @@ impl Recorder<libp2p_kad::KademliaEvent> for Metrics {
|
||||
}
|
||||
|
||||
#[cfg(feature = "ping")]
|
||||
impl Recorder<libp2p_ping::PingEvent> for Metrics {
|
||||
fn record(&self, event: &libp2p_ping::PingEvent) {
|
||||
impl Recorder<libp2p_ping::Event> for Metrics {
|
||||
fn record(&self, event: &libp2p_ping::Event) {
|
||||
self.ping.record(event)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user