Function filter_events_by_kind

Source
pub fn filter_events_by_kind<'a, I>(
    all_events: I,
    module_kind: ModuleKind,
    event_kind: EventKind,
) -> impl Iterator<Item = &'a PersistedLogEntry> + 'a
where I: IntoIterator<Item = &'a PersistedLogEntry> + 'a,
Expand description

Filters the PersistedLogEntries by the EventKind and ModuleKind.