Crate optional_future

Source

Structs§

OptionalFuture
A future wrapped in an option. If the option is None, then it can never resolve. This is useful when you want have a select! on a future that is only sometimes valid.

Functions§

optional_future
Creates a new optional future from an Option.

Type Aliases§

BoxOptionalFuture
A boxed OptionalFuture.