Crate ntex_rt

Crate ntex_rt 

Source
Expand description

A runtime implementation that runs everything on the current thread.

Re-exports§

pub use self::default_runtime::*;

Modules§

default_runtime

Macros§

syscall
Helper macro to execute a system call

Structs§

Arbiter
Arbiters provide an asynchronous execution environment for actors, functions and futures.
BlockingError
An error that may be emitted when all worker threads are busy.
BlockingResult
Builder
Builder struct for a ntex runtime.
Id
PingRecord
Runtime
The async runtime for ntex
RuntimeBuilder
Builder for Runtime.
System
System is a runtime manager.
SystemRunner
Helper object that runs System’s event loop

Enums§

DriverType
PollResult

Traits§

Driver
Notify
Runner

Functions§

spawn_blocking
Spawns a blocking task in a new thread, and wait for it.
task_callbacks
Safety
task_opt_callbacks
Safety

Type Aliases§

BlockFuture