Crate async_gate

source ·

Structs§

  • The gate was dropped, but we still know what value it had before dropping
  • A gate that can be checked if [is_raised] or [is_lowered] immediately, or can be waited on to be [raised] or [lowered].
  • The gate was dropped, so raising or lowering it achieves nothing
  • A lever that can [raise] and [lower] the gate it’s associated with
  • The lever was dropped, so waiting any longer for the gate to be raised or lowered can’t be meaningful

Constants§

Functions§

  • Create a Gate that is initially lowered. The Lever that it is returned with can raise and lower the gate.
  • Create a Gate that is initially raised. The Lever that it is returned with can raise and lower the gate.