pub fn item_watermark(
position: Position,
direction: ScanDirection,
boundary: Option<u64>,
) -> WatermarkExpand description
Build the embedded Watermark for an item: the cursor encodes this
item’s position (so the next request’s after/before resumes past it)
plus the current direction-matching checkpoint boundary. position is the
item’s cursor coordinates (list_checkpoints passes its cp_seq), whose
public position is the item’s key in ledger coordinates; the frame’s
cursor_position follows from it (see Position::item_resume).