def owner.frame
import mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursorPolicy.bend as BackupCursorPolicyimport Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec
26# Preserves raw bytes while classifying one owner cursor response.
27def owner.frame(frame: CursorCodec.Frame) -> OwnerFrameDecision:
28 match frame:
29 case CursorCodec.CursorEnd{}: OwnerCursorEnd{}
30 case CursorCodec.CursorItem{key, value}: OwnerCursorItem{key, value}