pub fn filter_events_by_kind<'a, I>(
all_events: I,
module_kind: ModuleKind,
event_kind: EventKind,
) -> impl Iterator<Item = &'a PersistedLogEntry> + 'awhere
I: IntoIterator<Item = &'a PersistedLogEntry> + 'a,
Expand description
Filters the PersistedLogEntries
by the EventKind
and
ModuleKind
.