[][src]Crate async_flag

Structs

Setter

The setting half of the flag. Setting the flag will wake all Waiter's.

SetterDropped

The error type returned when the setter is dropped.

Waiter

A cloneable waiter implementing Future with an Output type of Result<(), SetterDropped> that will become ready when the associated Setter is set or dropped.

Functions

flag

Create a Setter, Waiter pair. The Waiter can be cloned any number of times.