Crate scoped_futures

Source

Structs§

ScopedFutureWrapper
A Future wrapper type that imposes an upper bound on its lifetime’s duration.

Traits§

ScopedFuture
A Future super-trait with an implied upper bound on the provided lifetime. This is especially useful for callbacks that use higher-ranked lifetimes in their return type, where it can prevent 'static bounds from being placed on a returned Future.
ScopedFutureExt
An extension trait for Future that provides methods for encoding lifetime upper bound information.

Type Aliases§

ImpliedLifetimeBound
A wrapper type which imposes an upper bound on a lifetime.
ScopedBoxFuture
A boxed future whose lifetime is upper bounded.
ScopedLocalBoxFuture
A non-Send boxed future whose lifetime is upper bounded.