mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-29 00:00:11 +02:00
+2
-6
@@ -4,19 +4,15 @@
|
|||||||
//! all I/O happening in `tokio`. This core reactor (or event loop) is used to
|
//! all I/O happening in `tokio`. This core reactor (or event loop) is used to
|
||||||
//! drive I/O resources.
|
//! drive I/O resources.
|
||||||
//!
|
//!
|
||||||
//! The [`Handle`] and [`Remote`] structs are refences to the event loop,
|
//! The [`Handle`] struct, created by [`handle`][handle_method], is a reference
|
||||||
//! created by the [`handle`][handle_method] and [`remote`][remote_method]
|
//! to the event loop and can be used when constructing I/O objects.
|
||||||
//! respectively, and are used to construct I/O objects. `Remote` is sendable,
|
|
||||||
//! while `Handle` is not.
|
|
||||||
//!
|
//!
|
||||||
//! Lastly [`PollEvented`] can be used to construct I/O objects that interact
|
//! Lastly [`PollEvented`] can be used to construct I/O objects that interact
|
||||||
//! with the event loop, e.g. [`TcpStream`] in the net module.
|
//! with the event loop, e.g. [`TcpStream`] in the net module.
|
||||||
//!
|
//!
|
||||||
//! [`Reactor`]: struct.Reactor.html
|
//! [`Reactor`]: struct.Reactor.html
|
||||||
//! [`Handle`]: struct.Handle.html
|
//! [`Handle`]: struct.Handle.html
|
||||||
//! [`Remote`]: struct.Remote.html
|
|
||||||
//! [handle_method]: struct.Reactor.html#method.handle
|
//! [handle_method]: struct.Reactor.html#method.handle
|
||||||
//! [remote_method]: struct.Reactor.html#method.remote
|
|
||||||
//! [`PollEvented`]: struct.PollEvented.html
|
//! [`PollEvented`]: struct.PollEvented.html
|
||||||
//! [`TcpStream`]: ../net/struct.TcpStream.html
|
//! [`TcpStream`]: ../net/struct.TcpStream.html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user