def Bytes.scan_close_io.result
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb
1549def Bytes.scan_close_io.result(
1550 result: Result<&1, &1, U32 & String, Unit>
1551) -> Result<&1, &1, Bytes.Error, Unit>:
1552 match result:
1553 case Fail{error}: Fail{Bytes.error(RawByteDb.scan.error(error))}
1554 case Done{Unit{}}: Done{Unit{}}