pub trait EventIterator<T: Clone, C: Clone> {
// Required method
fn next(&mut self) -> Option<Cow<'_, Event<T, C>>>;
}
Expand description
Iterates over contained Event<T, C>
.
The EventIterator
trait describes types that can iterate over Cow
s of events,
and which can be used to replay a stream into a new timely dataflow computation.
This method is not simply an iterator because of the lifetime in the result.