Crate fidl_fuchsia_hardware_power_statecontrol__common

Crate fidl_fuchsia_hardware_power_statecontrol__common 

Source

Modules§

admin_ordinals
reboot_methods_watcher_ordinals
reboot_methods_watcher_register_ordinals
reboot_watcher_ordinals
shutdown_watcher_ordinals
shutdown_watcher_register_ordinals

Macros§

RebootReason2Unknown
Pattern that matches an unknown RebootReason2 member.
ShutdownActionUnknown
Pattern that matches an unknown ShutdownAction member.
ShutdownReasonUnknown
Pattern that matches an unknown ShutdownReason member.

Structs§

AdminPerformRebootRequest
AdminRebootRequest
AdminShutdownRequest
RebootMethodsWatcherOnRebootRequest
RebootOptions
The options specified when a reboot is requested.
RebootWatcherOnRebootRequest
ShutdownOptions
The options specified when a shutdown is requested.
ShutdownWatcherOnShutdownRequest

Enums§

RebootReason
Why the system reboots.
RebootReason2
Why the system reboots.
ShutdownAction
ShutdownReason
Why the system is shutting down.

Constants§

MAX_REBOOT_REASONS
The maximum number of reboot reasons that can be attributed to a single reboot request.
MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS
The maxium number of seconds the server will wait for responses from all RebootMethodsWatchers before changing the system power state.
MAX_SHUTDOWN_REASONS
The maximum number of shutdown reasons that can be attributed to a single shutdown request.
MAX_SHUTDOWN_WATCHER_RESPONSE_TIME_SECONDS
The maximum number of seconds the server will wait for responses from all ShutdownWatchers before changing the system power state.