Expand description
Prelude intended to be used across heim-*
crates.
Consider not to use it in your code, because it is kinda internal and might change at any time.
Re-exports§
Modules§
- This module tries to mimic
futures
crate structure except without re-exporting unused subcrates likeexecutor
orcompat
.
Macros§
- Generate boilerplate code for newtypes hiding the platform-specific implementations.
Enums§
- Any error which may happen during the data fetch.
Traits§
- A future which tracks whether or not the underlying future should no longer be polled.
- A stream which tracks whether or not the underlying stream should no longer be polled.
- A future represents an asynchronous computation obtained by use of
async
. - An extension trait for
Future
s that provides a variety of convenient adapters. - A stream of values produced asynchronously.
- An extension trait for
Stream
s that provides a variety of convenient combinator functions. - Adapters specific to
Result
-returning futures - Adapters specific to
Result
-returning streams
Type Aliases§
- An owned dynamically typed
Future
for use in cases where you can’t statically type your result or need to add some indirection. - An owned dynamically typed
Stream
for use in cases where you can’t statically type your result or need to add some indirection. - Type alias for types returned by
heim
functions.