def Bytes.backup.started

mylsm-lsm-store@0.6.0.1 · mylsm.bend:1053

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import Base
import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as BackupCodec

1053def Bytes.backup.started(
1054  handle: Bytes.Handle,
1055  result: Result<&1, &1, BackupCodec.Error, BackupCodec.Stream>
1056) -> Bytes.Handle & Result<&1, &1, Bytes.Error, Bytes.BackupStream>:
1057  match result:
1058    case Fail{error}: (handle, Fail{Bytes.backup.error(error)})
1059    case Done{inner}: (handle, Done{ByteBackupStream{inner}})

Uses (9)

Used by (1)