pistonite_cu/async_/
mod.rs

1use std::pin::Pin;
2
3#[cfg(feature = "coroutine")]
4mod pool;
5#[cfg(feature = "coroutine")]
6pub use pool::*;
7
8#[cfg(feature = "coroutine")]
9mod runtime;
10#[cfg(feature = "coroutine")]
11pub use runtime::*;
12
13/// Alias for a boxed future
14pub type BoxedFuture<T> = Pin<Box<dyn Future<Output = T> + Send + 'static>>;