timely::dataflow::operators::core::capture::event

Trait EventIterator

Source
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 Cows 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.

Required Methods§

Source

fn next(&mut self) -> Option<Cow<'_, Event<T, C>>>

Iterates over Cow<Event<T, C>> elements.

Implementations on Foreign Types§

Source§

impl<T: Clone, C: Clone> EventIterator<T, C> for Rc<EventLink<T, C>>

Source§

fn next(&mut self) -> Option<Cow<'_, Event<T, C>>>

Implementors§