Module ntex::rt [−][src]
Expand description
A runtime implementation that runs everything on the current thread.
Structs
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 struct for a ntex runtime.
Task failed to execute to completion.
An owned permission to join on a task (await its termination).
System is a runtime manager.
Helper object that runs System’s event loop
Enums
Different types of process signals
Traits
Functions
Create new single-threaded tokio runtime.
Convert std TcpStream to tokio’s TcpStream
Convert std UnixStream to tokio’s UnixStream
Register signal handler.
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.
Runs the provided closure on a thread where blocking is acceptable.
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.
Opens a TCP connection to a remote host.
Opens a TCP connection to a remote host and use specified memory pool.
Opens a unix stream connection.
Opens a unix stream connection and specified memory pool.