def Utf8.open.result

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

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

1983def Utf8.open.result(
1984  result: Result<&1, &1, Bytes.Error, Bytes.Handle>
1985) -> Result<&1, &1, Utf8.Error, Utf8.Handle>:
1986  match result:
1987    case Fail{error}: Fail{Utf8Failure{error}}
1988    case Done{handle}: Done{Utf8Handle{handle}}

Uses (5)

Used by (5)