Module async_wrapped

Source
Expand description

§Wrapped Async Monads

Typically, all apis are the same as the standard Option / Result.

For the operations that changes the value inside it, you should use a Future or something returns a Future instead of direct values.

For the operations that unwrap or check the value inside, they’re transformed into an asynchronous version.

Some apis are not provided, consider await the monad and use its sync version instead.

Modules§

option
This module provides an asynchronous version of the rust’s standard Option enum.
result
This module provides an asynchronous version of the rust’s standard Result enum.