Skip to main content

externally_driven_async_rt/
lib.rs

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