pub enum Flow {
Next,
Break,
}Expand description
What the loop does after a command.
Variants§
Next
Carry on with the rest of the batch.
Break
End the batch here.
For a command whose key set is not known until something earlier in the
same batch has finished: a MULTI body, a WAIT, a blocking form.
Prefetching those keys was not possible, so running them in this batch
would be running them cold, and whatever was drained behind this command
waits for the next turn instead of being thrown away.
Trait Implementations§
impl Copy for Flow
impl Eq for Flow
impl StructuralPartialEq for Flow
Auto Trait Implementations§
impl Freeze for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnsafeUnpin for Flow
impl UnwindSafe for Flow
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