[][src]Module ntex::rt

A runtime implementation that runs everything on the current thread.

Modules

blocking

Thread pool for blocking operations

net

TCP/UDP/Unix bindings

signal

Asynchronous signal handling

time

Utilities for tracking time.

Structs

Arbiter

Arbiters provide an asynchronous execution environment for actors, functions and futures. When an Arbiter is created, it spawns a new OS thread, and hosts an event loop. Some Arbiter functions execute on the current thread.

Builder

Builder struct for a ntex runtime.

Runtime

Single-threaded runtime provides a way to start reactor and runtime on the current thread.

System

System is a runtime manager.

SystemRunner

Helper object that runs System's event loop

Functions

spawn

Spawn a future on the current thread. This does not create a new Arbiter or Arbiter address, it is simply a helper for spawning futures on the current thread.

spawn_fn

Executes a future on the current thread. This does not create a new Arbiter or Arbiter address, it is simply a helper for executing futures on the current thread.