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§
- futures
- This module tries to mimic
futures
crate structure except without re-exporting unused subcrates likeexecutor
orcompat
.
Macros§
- wrap
- Generate boilerplate code for newtypes hiding the platform-specific implementations.
Enums§
- Error
- Any error which may happen during the data fetch.
Traits§
- Fused
Future - A future which tracks whether or not the underlying future should no longer be polled.
- Fused
Stream - A stream which tracks whether or not the underlying stream should no longer be polled.
- Future
- A future represents an asynchronous computation obtained by use of
async
. - Future
Ext - An extension trait for
Future
s that provides a variety of convenient adapters. - Stream
- A stream of values produced asynchronously.
- Stream
Ext - An extension trait for
Stream
s that provides a variety of convenient combinator functions. - TryFuture
Ext - Adapters specific to
Result
-returning futures - TryStream
Ext - Adapters specific to
Result
-returning streams
Type Aliases§
- BoxFuture
- An owned dynamically typed
Future
for use in cases where you can’t statically type your result or need to add some indirection. - BoxStream
- An owned dynamically typed
Stream
for use in cases where you can’t statically type your result or need to add some indirection. - Result
- Type alias for types returned by
heim
functions.