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