Module natural

Module natural 

Source

Structs§

ElementControlOpenStatusChannelRequest
ElementControlRegisterDependencyTokenRequest
ElementControlRegisterDependencyTokenResponse
ElementControlUnregisterDependencyTokenRequest
ElementControlUnregisterDependencyTokenResponse
ElementInfoProviderGetElementPowerLevelNamesResponse
ElementInfoProviderGetStatusEndpointsResponse
ElementPowerLevelNames
Mapping of a vector of [fuchsia.power.broker/PowerLevelName] to a Power Element via its plaintext name. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
ElementRunnerSetLevelRequest
ElementRunnerSetLevelResponse
ElementSchema
Passed to Topology.AddElement.
ElementStatusEndpoint
Status client endpoint and a plaintext name for a specific Power Element. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
LeaseControlWatchStatusRequest
LeaseControlWatchStatusResponse
LessorLeaseRequest
LessorLeaseResponse
LevelDependency
Describes a dependency from one power element’s level on another power element’s level. For example if element PowerElement_A has a level PowerLevel_A3 which depends on an element PowerElement_B being at PowerLevel_B2 where the dependency is DependencyType::ASSERTIVE then we would fill out the struct to convey the meaning:
Permissions
Element Permissions
PowerLevelName
Mapping of a plaintext name to a PowerLevel. Names are expected to be unique between elements and persistent across reboots of the same build, but consistency is not guaranteed between different builds.
StatusWatchPowerLevelResponse
TopologyAddElementResponse

Enums§

AddElementError
BinaryPowerLevel
BinaryPowerLevel is a well-known set of PowerLevels with only two states: OFF and ON.
DependencyType
An assertive dependency is strongly-fulfilled and orderly-on-termination. An opportunistic dependency is weakly-fulfilled but still orderly-on-termination.
ElementInfoProviderError
LeaseError
LeaseStatus
ModifyDependencyError
RegisterDependencyTokenError
StatusError
UnregisterDependencyTokenError

Type Aliases§

DependencyToken
A token that represents the right to add a dependency upon another element. Should first be registered with Power Broker via ElementControl.RegisterDependencyToken of the required element.
PowerLevel
Used to describe the power level of an element. Could extend this further to support additional types of power levels, such as ACPI.