def Bytes.scan_next.owned.ended
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport Base
1669def Bytes.scan_next.owned.ended(
1670 result: Result<&1, &1, Bytes.Error, Unit>
1671) -> Bytes.StreamStep:
1672 match result:
1673 case Done{Unit{}}: StreamEnd{ByteClosedCursor{}}
1674 case Fail{error}: StreamFailure{error, ByteClosedCursor{}}