def base.result

mylsm-lsm-store@0.6.0.1 · src/scan/VisibleCursor.bend:159

import mylsm-lsm-store@0.6.0.1/src/scan/VisibleCursor.bend as VisibleCursor
import Base
import mylsm-lsm-store@0.6.0.1/src/scan/SstCursor.bend as SstCursor

159def base.result(result: SstCursor.Step) -> BaseResult:
160  match result:
161    case SstCursor.Item{entry, cursor}: BaseItem{cursor, entry}
162    case SstCursor.Skip{cursor}: BaseSkip{cursor}
163    case SstCursor.End{}: BaseDone{}
164    case SstCursor.Error{error}: BaseError{error}

Uses (2)

Used by (1)