Documentation

Miri.Interpreter.OwnedIoRuntime

Source-owned IO FnOnce environments. This first connected unit executes all eventfd retry bodies without recursive function-valued state or a retry budget. Poll/epoll environments retain their exact source identities and are reserved for their connected source adapters.

Instances For
    Instances For
      Instances For
        def Miri.Interpreter.OwnedIoRuntime.cancel {S F E : Type} (h : Hooks S F E) (token : Nat) :
        Equations
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.OwnedIoRuntime.readStep {S F E : Type} (h : Hooks S F E) (fd : F) (buffer : IoCompletion.Dest) (completion : IoCompletion.Capture) :

            Takes source ownership of fd. A deferred callback receives that ownership without a clone/drop detour; immediate completion and failures drop it once.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.OwnedIoRuntime.writeStep {S F E : Type} (h : Hooks S F E) (fd : F) (buffer : IoCompletion.Dest) (completion : IoCompletion.Capture) :
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                def Miri.Interpreter.OwnedIoRuntime.invoke {S F E : Type} (h : Hooks S F E) (token : Nat) (kind : Concurrency.UnblockKind) :

                Source call consumes Box<Self> first. Each arm owns its captured strong reference, including every error path; retries transfer it into the next box.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For