def Bytes.error.result

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

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb

101def Bytes.error.result(result: Result<&1, &1, RawByteDb.Error, Unit>) -> Result<&1, &1, Bytes.Error, Unit>:
102  match result:
103    case Fail{error}: Fail{Bytes.error(error)}
104    case Done{Unit{}}: Done{Unit{}}

Uses (5)

Used by (5)