The proto PageCursor carries no ordering; compare (seq, offset).
(left: &pb::PageCursor, right: &pb::PageCursor)
| 481 | |
| 482 | /// The proto PageCursor carries no ordering; compare (seq, offset). |
| 483 | fn cursor_cmp(left: &pb::PageCursor, right: &pb::PageCursor) -> std::cmp::Ordering { |
| 484 | (left.seq, left.offset).cmp(&(right.seq, right.offset)) |
| 485 | } |
| 486 | |
| 487 | // --------------------------------------------------------------------------- |
| 488 | // append chunking (ported; see the module doc for the budget deviation) |
no test coverage detected