pub enum Control {
Barrier(u64),
Commit(u64),
Stop,
}Expand description
What the coordinator tells a source.
Variants§
Barrier(u64)
Take a barrier for epoch: record the position, forward the barrier.
Commit(u64)
Every task reported epoch: commit the position recorded at its barrier.
Stop
Finish after the current poll: Eos flows downstream in order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more