Crate ntex_rt

Source
Expand description

A runtime implementation that runs everything on the current thread.

Structs§

Arbiter
Arbiters provide an asynchronous execution environment for actors, functions and futures.
Builder
Builder struct for a ntex runtime.
Handle
Handle to the runtime.
Id
JoinError
JoinHandle
Blocking operation completion future. It resolves with results of blocking function execution.
PingRecord
System
System is a runtime manager.
SystemRunner
Helper object that runs System’s event loop

Functions§

block_on
Runs the provided future, blocking the current thread until the future completes.
spawn
spawn_blocking
spawn_cbs
Safety