Module future_with_guard

Source

Structsยง

FutureWithGuard
A wrapper around a future and a guard object where the correctness of the future requires the guard object to be held while the future is alive.