mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
refactor(dcutr): reshape public API to follow naming guidelines (#3214)
With this patch, the naming of types follows the guidelines discussed in #2217.
This commit is contained in:
@ -100,8 +100,8 @@ pub trait Recorder<Event> {
|
||||
}
|
||||
|
||||
#[cfg(feature = "dcutr")]
|
||||
impl Recorder<libp2p_dcutr::behaviour::Event> for Metrics {
|
||||
fn record(&self, event: &libp2p_dcutr::behaviour::Event) {
|
||||
impl Recorder<libp2p_dcutr::Event> for Metrics {
|
||||
fn record(&self, event: &libp2p_dcutr::Event) {
|
||||
self.dcutr.record(event)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user