mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
refactor(relay): revise public API to follow naming convention (#3238)
Continues addressing https://github.com/libp2p/rust-libp2p/issues/2217.
This commit is contained in:
@ -136,8 +136,8 @@ impl Recorder<libp2p_ping::Event> for Metrics {
|
||||
}
|
||||
|
||||
#[cfg(feature = "relay")]
|
||||
impl Recorder<libp2p_relay::v2::relay::Event> for Metrics {
|
||||
fn record(&self, event: &libp2p_relay::v2::relay::Event) {
|
||||
impl Recorder<libp2p_relay::Event> for Metrics {
|
||||
fn record(&self, event: &libp2p_relay::Event) {
|
||||
self.relay.record(event)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user