pub enum Msg {
Data(RecordBatch),
Watermark {
source: TaskId,
ts: Option<i64>,
},
Barrier {
epoch: u64,
},
Tick {
now_ms: i64,
},
Eos,
}Expand description
What flows on an edge.
Variants§
Data(RecordBatch)
Watermark
The time of source (a source task id) as seen by the sender; None = the source is idle.
Barrier
Tick
Processing time passes with nothing else to say: a source that polled nothing sends one (at most ten a second), and every task forwards at most ten a second. Operators with processing-time work (bounded idleness, ingest-time windows) advance on it.
Eos
The upstream is done (clean shutdown flows downstream in order).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Msg
impl !UnwindSafe for Msg
impl Freeze for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnsafeUnpin for Msg
Blanket Implementations§
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