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
Futurewith anOutputtype ofResult<(), SetterDropped>that will become ready when the associatedSetteris set or dropped.
Functions§
- flag
- Create a
Setter,Waiterpair. TheWaitercan be cloned any number of times.