Trait libp2p_metrics::Recorder
source · pub trait Recorder<Event> {
// Required method
fn record(&self, event: &Event);
}
Expand description
Recorder that can record Swarm and protocol events.
Required Methods§
Implementors§
impl Recorder<Event> for Metrics
Available on crate feature
gossipsub
only.impl Recorder<Event> for Metrics
Available on crate feature
identify
only.impl Recorder<Event> for Metrics
Available on crate feature
kad
only.impl Recorder<Event> for Metrics
Available on crate feature
relay
only.impl Recorder<Event> for Metrics
Available on crate feature
dcutr
only.impl Recorder<Event> for Metrics
Available on crate feature
ping
only.