def in.wrap
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterpimport Base
import bend-osdev-acpi@0.1.1.0/error.bend as E
import bend-osdev-acpi@0.1.1.0/aml_value.bend as V
506def in.wrap(-H: Data, w: AmlWorld<H>, r: Result<&2, &2, E.AcpiError, V.AmlValue>) -> Result<&2, &2, E.AcpiError, AmlRead<H>>:
507 match r:
508 case Fail{e}:
509 Fail{e}
510 case Done{v}:
511 Done{AmlRead{w, v}}