Client.Reply.of: def of bend-kube-runtime@0.2.0.0 Import: import bend-kube-runtime@0.2.0.0/src/client.bend as Client Lines 326-335 of bend-kube-runtime@0.2.0.0/src/client.bend: https://jend.leeeet.dev/read.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&start_line=326&end_line=335 import Base import bend-kube-runtime@0.2.0.0/src/utf8.bend as U import bend-kube-runtime@0.2.0.0/src/http.bend as H def Reply.of(r: H.Resp & List<&2, U32>) -> Result<&2, &2, KErr, Reply>: match r: case (H.Resp{H.PDone{}, Some{H.Head{c, reason, hs}}, o}, body): Done{Reply{c, U.Utf8.decode_all(body)}} case (H.Resp{H.PErr{m}, h, o}, body): Fail{KNet{0, m}} case (H.Resp{H.PLost{m}, h, o}, body): Fail{KNet{0, m}} case _: Fail{KNet{0, "incomplete response"}} Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&name=KErr https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/client.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Head https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Phase https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/http.bend&name=Resp https://jend.leeeet.dev/definition.txt?path=bend-kube-runtime@0.2.0.0/src/utf8.bend&name=Utf8.decode_all