Structs§
- Setter
- The setting half of the flag. Setting the flag will wake all
Waiter
’s. - Setter
Dropped - The error type returned when the setter is dropped.
- Waiter
- A cloneable waiter implementing
Future
with anOutput
type ofResult<(), SetterDropped>
that will become ready when the associatedSetter
is set or dropped.
Functions§
- flag
- Create a
Setter
,Waiter
pair. TheWaiter
can be cloned any number of times.