Crate power_broker_client

Crate power_broker_client 

Source

Structs§

Lease
LeaseDependency
A dependency for a lease. It is equivalent to an fbroker::LevelDependency with the dependent fields omitted.
LeaseHelper
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.
PowerElementContext
PowerElementContextBuilder

Constants§

BINARY_POWER_LEVELS
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.