[−][src]Module af_lib::future
Utilities for working with futures and async logic.
Structs
Context | The |
MapErr | A future returned from |
Enums
Poll | Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead. |
Traits
Future | A future represents an asynchronous computation. |
TryFuture | A |
TryFutureExt | Extension methods for futures that return a result. |
Functions
catch_unwind | Waits for a future to be ready or panic. |
forever | Waits forever. |
poll | Polls a future and returns its result if it is ready. |
race | Waits for one of two futures to be ready and returns its result. |
try_resolve | Polls the future once then drops it, returning the output if the future was ready. |
Attribute Macros
boxed | Modifies an |
boxed_local | Modifies an |