async_monad/lib.rs
1/// # Wrapped Async Monads
2///
3/// Typically, all apis are the same as the standard [`Option`] / [`Result`].
4///
5/// For the operations that changes the value inside it, you should use a `Future` or something returns a `Future` instead of direct values.
6///
7/// For the operations that unwrap or check the value inside, they're transformed into an asynchronous version.
8///
9/// Some apis are not provided, consider `await` the monad and use its sync version instead.
10pub mod async_wrapped;
11
12#[cfg(feature = "async_trait")]
13/// # Asynchronous Monad Operation
14///
15/// This module provides two traits for std [`Option`] / [`Result`].
16///
17/// The two traits provide all the functionality the std one provides, but can accept `Future`s as parameters or operators.
18pub mod async_traits;