Expand description
Runtime APIs for running tasks on the current thread.
Modules§
- channel
- A one-shot, futures-aware channel.
- connect
- DNS-aware TCP connector service.
- polling
- rt_
default - rt_
tokio - signals
- tokio
- uring
Macros§
- syscall
- Helper macro to execute a system call
Structs§
- Arbiter
- An asynchronous execution environment running on one OS thread.
- Blocking
Error - Error returned when blocking work cannot produce a result.
- Blocking
Result - Future resolving to the result of blocking work.
- Builder
- Builder for an ntex runtime system.
- Default
Runtime - The default runtime.
- Handle
- Handle to the runtime.
- Id
- Identifier assigned to a running
System. - Join
Error - Join
Handle - Ping
Record - Runtime
- The async runtime for ntex.
- Runtime
Builder - Builder for
Runtime. - System
- Runtime manager for a group of arbiter threads.
- System
Runner - A configured system that has not yet started its event loop.
- Thread
Pool - A thread pool for executing blocking operations.
Enums§
Traits§
Functions§
- from_
tcp_ stream - Converts a standard-library TCP stream into an
Iovalue. - from_
unix_ stream - Converts a standard-library Unix stream into an
Iovalue. - get_
item - Returns a cloned value from the current arbiter’s thread-local storage.
- set_
item - Inserts a value into the current arbiter’s thread-local storage.
- spawn
- Spawn a future on the current thread.
- spawn_
blocking - Submits blocking work and returns a future for its result.
- task_
callbacks ⚠ - Safety
- task_
opt_ ⚠callbacks - Safety
- tcp_
connect - Opens a TCP connection to a remote host.
- unix_
connect - Opens a Unix domain socket connection.
- with_
item - Provides access to a value in the current arbiter’s thread-local storage.
- with_
reactor - Sets the current reactor and runs the provided closure.