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).
- Query TCP Io connections for a handle to set socket options
- System is a runtime manager.
- Helper object that runs System’s event loop
Enums
- Different types of process signals
Functions
- Runs the provided future, blocking the current thread until the future completes.
- 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.
- Safety
- 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.