Crate tokio [−] [src]
Tokio is a network application framework for rapid development and highly scalable production deployments of clients and servers.
Tokio consists of multiple layers.
At a high level, Tokio provides a
Service trait which provides a unified
API for writing clients and servers as well as the ability to build
reusable middleware components.
The service trait is decoupled from any notion of a runtime.
The Tokio Reactor is a lightweight, event driven, task scheduler. It accepts tasks, which are small units of work and schedules them for execution when their dependent I/O sources (TCP sockets, timers, etc...) are ready.
The reactor and task exist in the
Tokio aims to provide all the pieces necessary for rapidly developing
protocol implementations. These components exist in the
Traits, helpers, and type definitions for Tokio I/O & non-blocking IO functionality.
A collection of components for rapid protocol development
The non-blocking event driven core of Tokio
A generic Tokio TCP server implementation.
Tokio aware TCP primitives
Tokio aware UDP primitives
Utilities for writing Tokio applications
A service implemented by a closure.
An asynchronous function from