Skip to main content

externally_driven_async_rt/
lib.rs

1#![no_std]
2#![doc = include_str!("../README.md")]
3#![warn(
4    missing_debug_implementations,
5    missing_docs,
6    trivial_casts,
7    trivial_numeric_casts,
8    unused_qualifications,
9    deprecated_in_future,
10    unused_lifetimes
11)]
12#![cfg_attr(test, allow(clippy::arithmetic_side_effects, clippy::as_conversions))]
13
14mod claimed;
15mod context;
16mod conversions;
17mod event_loop;
18/// IO traits, implemented by streams from [`net`].
19pub mod io;
20/// A module that implements TCP/UDP/Unix sockets.
21pub mod net;
22mod notify;
23mod pool;
24mod select;
25mod selector;
26mod state;
27mod storage;
28mod strace;
29mod sys;
30mod tasks;
31#[cfg(test)]
32mod testing;
33mod time;
34mod waker_slot;
35
36pub use context::Context;
37pub use event_loop::{Error, EventLoop};
38pub use notify::Notified;
39pub use select::{Either2, Either3, select2, select3};
40pub use selector::Selector;
41pub use state::State;
42pub use storage::LoopStorage;
43pub use tasks::{JoinHandle, ReserveTask, TaskReservation};
44pub use time::{Sleep, Timeout};