pub trait Recorder<Event> {
// Required method
fn record(&self, event: &Event);
}Available on crate feature
metrics only.Expand description
Recorder that can record Swarm and protocol events.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Recorder<Event> for Metrics
Available on crate feature
dcutr only.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
ping only.impl Recorder<Event> for Metrics
Available on crate feature
relay only.