Skip to main content

Crate ntex_rt

Crate ntex_rt 

Source
Expand description

A runtime implementation that runs everything on the current thread.

Re-exports§

pub use self::rt_default::*;

Modules§

rt_default

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
System 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§

get_item
Get a reference to a type previously inserted on this runtime’s storage
set_item
Set item to current runtime’s storage
spawn_blocking
Spawns a blocking task in a new thread, and wait for it.
task_callbacks
Safety
task_opt_callbacks
Safety

Type Aliases§

BlockFuture