def Bytes.backup_next
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport Base
import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as BackupCodec
1092# Produces one bounded checksummed backup chunk per call.
1093def Bytes.backup_next(stream: Bytes.BackupStream) -> Result<&1, &1, Bytes.Error, Bytes.BackupStep>:
1094 match stream:
1095 case ByteBackupStream{inner}:
1096 Bytes.backup.next.result(BackupCodec.next(inner))