def lift1
import bendonnect-rpc@0.1.0.0/src/pb.bend as Pbimport Base
import bend-kit-protobuf@0.1.0.0/protobuf.bend as Pb
278def lift1(-T: Type, what: String, r: Result<&2, &1, Pb.Error, T>) -> Result<&2, &1, String, T>:
279 match r:
280 case Fail{e}:
281 Fail{what}
282 case Done{x}:
283 Done{x}