pub enum Tick {
Progressed(ApplySummary),
Idle,
RolledBack {
to: Option<Position>,
},
Resynced,
SourceError,
DurabilityLost,
Terminal(EngineStatus),
}Expand description
Outcome of one driver tick.
Variants§
Progressed(ApplySummary)
Batch applied; the summary counts what the fold saw.
Idle
Poll returned nothing new.
RolledBack
A fork rolled the engine back to a checkpoint.
Resynced
Engine reset to genesis; the next poll carries no cursor.
SourceError
Source or its contract failed; the next delay backs off.
DurabilityLost
Sink refused a snapshot offer; reported once, folding continues unpersisted.
Terminal(EngineStatus)
Engine can make no further automated progress.
Trait Implementations§
impl Copy for Tick
impl Eq for Tick
impl StructuralPartialEq for Tick
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnsafeUnpin for Tick
impl UnwindSafe for Tick
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