def fetch.boxed
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
2513def fetch.boxed(r: Result<&1, &1, Err, Res>, none: Bool) -> Out:
2514 match r:
2515 case Done{res}:
2516 OutDone{res, None{}, Bytes.new(0)}
2517 case Fail{e}:
2518 OutFail{e, none}