Structs§
- A dependency for a lease. It is equivalent to an fbroker::LevelDependency with the dependent fields omitted.
- Helper for acquiring leases. Instantiate with LeaseControl::new(), and then acquire a lease with the lease() method. The lease() call will return only once the lease is satisfied.
Constants§
- A well-known set of PowerLevels to be specified as the valid_levels for a power element. This is the set of levels in fbroker::BinaryPowerLevel.
Functions§
- Creates an update function for run_power_element that only updates `power_element``.
- Runs a procedure that calls an update function when the required power level changes.