Module ntex_util::future [−][src]
Utilities for futures
Structs
Lazy | Future for the |
Enums
Either | Combines two different futures, streams, or sinks having the same associated types into a single type. |
Ready | A future representing a value that is immediately ready. |
Traits
Sink | A |
Stream | A stream of values produced asynchronously. |
Functions
join | Future for the |
join_all | Creates a future which represents a collection of the outputs of the futures given. |
lazy | Creates a new future that allows delayed execution of a closure. |
next | Creates a future that resolves to the next item in the stream. |
poll_fn | Creates a new future wrapping around a function returning |
select | Waits for either one of two differently-typed futures to complete. |
send | A future that completes after the given item has been fully processed into the sink, including flushing. |