Module tikv_client::timestamp[][src]

A timestamp returned from the timestamp oracle.

The version used in transactions can be converted from a timestamp. The lower 18 (PHYSICAL_SHIFT_BITS) bits are the logical part of the timestamp. The higher bits of the version are the physical part of the timestamp.

Structs

Timestamp

Constants

LOGICAL_MASK
PHYSICAL_SHIFT_BITS

Traits

TimestampExt

A helper trait to convert a Timestamp to and from an u64.