Mylsm.Bytes.scan_next.result: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm Lines 1587-1597 of mylsm-lsm-store@0.6.0.1/mylsm.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&start_line=1587&end_line=1597 import Base import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as ByteRangeCursor # Advances a byte scan by one matching item, filtered skip, or end marker. def Bytes.scan_next.result(result: ByteRangeCursor.Step) -> Bytes.ScanStep: match result: case ByteRangeCursor.RangeItem{ByteMemTable.Entry{key, Some{value}}, next_inner, next_bounds}: ScanItem{key, value, ByteCursor{next_inner, next_bounds}} case ByteRangeCursor.RangeItem{ByteMemTable.Entry{_, None{}}, next_inner, next_bounds}: ScanSkip{ByteCursor{next_inner, next_bounds}} case ByteRangeCursor.RangeSkip{next_inner, next_bounds}: ScanSkip{ByteCursor{next_inner, next_bounds}} case ByteRangeCursor.RangeEnd{next_inner, next_bounds}: ScanEnd{ByteCursor{next_inner, next_bounds}} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/mylsm.bend&name=Bytes.ScanStep https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Step