def in.got.buf
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:520
import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import 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
import bend-osdev-acpi@0.1.1.0/aml_field.bend as F
520def in.got.buf(-H: Data, w: AmlWorld<H>, r: Result<&2, &2, E.AcpiError, F.AmlFieldBuf<H>>) -> Result<&2, &2, E.AcpiError, AmlRead<H>>:
521 match r:
522 case Fail{e}:
523 Fail{e}
524 case Done{F.AmlFieldBuf{h, o}}:
525 Done{AmlRead{in.with_host(H, w, h), V.AmlBuf{o}}}