pub enum Order {
ApplyFirst,
JournalFirst,
JournalSync,
}Expand description
The order a host writes a run in. Each gives the same journal and the same records.
Variants§
ApplyFirst
A chunk applies at once, its records go to the sink, and the journal follows. For a local UI: the sink may be ahead of the journal, and a crash loses what was not in it yet, which nothing but the sink saw.
JournalFirst
A chunk applies once it is in the journal. For a server of an async log: the sink is never ahead, and nothing acknowledged is lost.
JournalSync
A chunk is appended to a synchronous log, then applies, at once. A
journal whose append is not ready at once is WORKFLOW_JOURNAL_FAILED.
Trait Implementations§
impl Copy for Order
impl Eq for Order
impl StructuralPartialEq for Order
Auto Trait Implementations§
impl Forget for Order
impl Freeze for Order
impl Move for Order
impl RefUnwindSafe for Order
impl Send for Order
impl Sync for Order
impl Unpin for Order
impl UnsafeUnpin for Order
impl UnwindSafe for Order
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.