Nuclei is a proactive IO system which is runtime agnostic and can work with any runtime. Proactive system's design principles matching to Boost Asio. Nuclei is not using conventional reactor approach. It is completely asynchronous, and it's wrapping poll based IO proactive fashion.
Current io_uring implementation needs Linux kernel 5.6+.
- Async TCP, UDP, Unix domain sockets and files...
- Proactor system don't block.
- Scatter/Gather operations
- Minimal allocation as much as possible.
- More expressive than any other runtime.
- Completely asynchronous I/O system with lock free programming.
For more information about how to use Nuclei with std IO types please head to examples.
Executor is by default set to Bastion's executor. If you want to use
different executor, you can use one of the available runtimes with one of these features:
If a runtime flag is provided, the type for the specific executor will be re-exported here.
Generic join handle type.
A prelude for the agnostik crate.
This struct doesn't have any functionality. It's only use is to have a nice API to create executors for different runtimes.
Handle that manages IO submitted to proactor system.
Concrete proactor instance
and wait for a future to finish.
Operation registrar for Proactive IO, represents the outer ring that will send & receive submissions and completions respectively.
This trait represents an executor that is capable of spawning futures onto the same thread.
IO driver that drives event systems
Returns a reference to the global executor.
Submitted async IO operation type