pub trait EventRecorder<PI> {
// Required methods
fn record(
&mut self,
time: Duration,
node: PI,
topic: TopicId,
event: Event<PI>,
);
fn flush(&mut self);
}
Available on crate feature
test-utils
only.