Expand description
Provides utilities for working with asynchronous code.
Re-exports§
pub use traits::PollExt;
Modules§
- async_
once - Exposes the OnceCell crate for use in async code.
- channel
- Additional functionality for use with asynchronous channels (futures::channel::mpsc).
- event
- An event that can be signaled and waited on by multiple consumers.
- fold
- Provides utilities to fold [
Stream
]s and [TryStream
]s with a short-circuited result. - futures
- Provides utilities for working with futures.
- hanging_
get - The Hanging Get pattern can be used when pull-based flow control is needed on a protocol.
- mutex_
ticket - Helper to poll a mutex.
- stream
- Additional Useful Stream Combinators and Utilities
Streams always signal exhaustion with
None
return values. A stream epitaph can be used when a specific value is desired as the last item returned by a stream before it is exhausted. - traits
- Traits that are useful for working with async code, but do not fit into a more specific
category. These are often extension traits for types that are not defined by
async_utils
.