Re-exports§
Structs§
- Before
Gate Dropped - The gate was dropped, but we still know what value it had before dropping
- Gate
- A gate that can be checked if
is_raised
oris_lowered
immediately, or can be waited on to beraised
orlowered
. - Gate
Dropped - The gate was dropped, so raising or lowering it achieves nothing
- Lever
- A lever that can
raise
andlower
the gate it’s associated with - Lever
Dropped While Lowered - The lever was dropped while the gate was raised, so the gate will never be lowered again
- Lever
Dropped While Raised - The lever was dropped while the gate was raised, so the gate will never be lowered again
- Parse
Gateway Error
Enums§
Functions§
- new
- Create a
Gate
in the giveninitial
state. TheLever
that it is returned with can raise and lower the gate. - new_
lowered - Create a
Gate
that is initially lowered. TheLever
that it is returned with can raise and lower the gate. - new_
raised - Create a
Gate
that is initially raised. TheLever
that it is returned with can raise and lower the gate.