mz_persist_types

Trait 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§

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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl StepForward for u64

Source§

fn step_forward(&self) -> Self

Implementors§