Expand description
A very small, no-std compatible toolbox of async utilities.
Re-exports§
pub use core::future::Future;pub use core::pin::Pin;pub use core::task::Context;pub use core::task::Poll;pub use core::task::Waker;
Modules§
- prelude
- This module has extras that clash with names in [
futures-lite], which depends on us.
Macros§
- or
- Polls arbitrarily many futures, returning the first ready value.
- pin
- Pins a variable of type
Ton the stack and rebinds it asPin<&mut T>. - ready
- Unwraps
Poll<T>or returnsPending. - zip
- Zips arbitrarily many futures, waiting for all to complete.
Structs§
- Or
- Returns the result of
leftorrightfuture, preferringleftif both are ready. - PollFn
- Future for the
poll_fn()function. - Zip
- Waits for two
Futures to complete, returning both results.