pub enum ToWorker {
Barrier(u64),
Commit(u64),
Stop,
}Expand description
Runtime control from the leader to a worker over the persistent control connection (D9 — the
leader coordinates the run; barriers travel in-band on the data edges, but the decision to
issue an epoch, commit it, or stop is the leader’s). Barrier(e) injects epoch e at this
worker’s sources (aligned across all workers, so an operator sees the same epoch on every edge);
Commit(e) releases the sources that recorded a position at e; Stop begins the ordered
shutdown.
Variants§
Trait Implementations§
impl Copy for ToWorker
Source§impl<'de> Deserialize<'de> for ToWorker
impl<'de> Deserialize<'de> for ToWorker
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ToWorker
impl StructuralPartialEq for ToWorker
Auto Trait Implementations§
impl Freeze for ToWorker
impl RefUnwindSafe for ToWorker
impl Send for ToWorker
impl Sync for ToWorker
impl Unpin for ToWorker
impl UnsafeUnpin for ToWorker
impl UnwindSafe for ToWorker
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.