[−][src]Crate tokio_net
Event loop that drives Tokio I/O resources.
The reactor is the engine that drives asynchronous I/O resources (like TCP and
UDP sockets). It is backed by mio and acts as a bridge between mio and
futures.
The crate provides:
-
Reactoris the main type of this crate. It performs the event loop logic. -
Handleprovides a reference to a reactor instance. -
RegistrationandPollEventedallow third parties to implement I/O resources that are driven by the reactor.
Application authors will not use this crate directly. Instead, they will use the
tokio crate. Library authors should only depend on tokio-net if they
are building a custom I/O resource.
For more details, see reactor module documentation in the Tokio crate.
Modules
| driver | Event loop that drives Tokio I/O resources. |
| process | An implementation of asynchronous process management for Tokio. |
| signal | Asynchronous signal handling for Tokio |
| tcp | TCP bindings for |
| udp | UDP bindings for |
| uds | Unix Domain Sockets for Tokio. |
| util | Utilities for implementing networking types. |
Traits
| ToSocketAddrs | Convert or resolve without blocking to one or more |