-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
To iterate over Records in a given Input, the current supported way is implementing the Handler and call Handler::process, which is a wrapper of tracecmd_iterate_events().
To support more flexible handling, it'd be nice to support Iterator whose Item is Record.
let input = Input::new(...)?;
for event in input.to_iter() {
// process event
}Its next() should be able to be implemented by wrapping tracecmd_read_data.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request