pub fn boundary_cursor_cp(cp: u64, direction: ScanDirection) -> u64Expand description
Resolve the checkpoint coordinate of a list_checkpoints boundary cursor
at a scan frontier inside checkpoint cp. The cursor encoding is
asymmetric: ascending Boundary cursors resume at their checkpoint, so the
frontier cp is used directly; descending Boundary cursors treat the
checkpoint as an EXCLUSIVE upper bound, so cp + 1 is needed to keep cp
itself included on resume.