Module conch_runtime::future[][src]

This module defines various traits and adapters for bridging command execution with futures.

Structs

BoxedResult

A future adapter for EnvFutures which return a Future, whose result will be boxed upon resolution.

Fuse

A future which "fuses" a future once it's been resolved.

InvertStatus

A future which represents a possibly inverted exit status.

Pinned

A future which bridges the gap between Future and EnvFuture.

Enums

Async

Return type of future, indicating whether a value is ready or not.

Traits

EnvFuture

A trait for objects that behave exactly like the Future trait from the futures crate, however, each object must be polled in the context of some environment.

Type Definitions

Poll

Return type of the Future::poll method, indicates whether a future's value is ready or not.