Trait mz_persist_types::StepForward
source · pub trait StepForward {
// Required method
fn step_forward(&self) -> Self;
}
Expand description
Advance a timestamp by the least amount possible such that
ts.less_than(ts.step_forward())
is true.
TODO: Unify this with repr’s TimestampManipulation. Or, ideally, get rid of
it entirely by making txn-wal methods take an advance_to
argument.
Required Methods§
sourcefn step_forward(&self) -> Self
fn step_forward(&self) -> Self
Advance a timestamp by the least amount possible such that
ts.less_than(ts.step_forward())
is true. Panic if unable to do so.
Object Safety§
This trait is not object safe.