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 persist-txn methods take an advance_to argument.

Required Methods§

source

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.

Implementations on Foreign Types§

source§

impl StepForward for u64

source§

fn step_forward(&self) -> Self

Implementors§