Crate fidl_fuchsia_hardware_power_statecontrol

Crate fidl_fuchsia_hardware_power_statecontrol 

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§

AdminControlHandle
AdminEventStream
AdminMarker
AdminMexecRequest
AdminMexecResponder
AdminPerformRebootRequest
AdminPerformRebootResponder
AdminPowerFullyOnResponder
AdminPoweroffResponder
AdminProxy
AdminRebootRequest
AdminRebootResponder
AdminRebootToBootloaderResponder
AdminRebootToRecoveryResponder
AdminRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/Admin.
AdminShutdownRequest
AdminShutdownResponder
AdminSuspendToRamResponder
AdminSynchronousProxy
RebootMethodsWatcherControlHandle
RebootMethodsWatcherEventStream
RebootMethodsWatcherMarker
RebootMethodsWatcherOnRebootRequest
RebootMethodsWatcherOnRebootResponder
RebootMethodsWatcherProxy
RebootMethodsWatcherRegisterControlHandle
RebootMethodsWatcherRegisterEventStream
RebootMethodsWatcherRegisterMarker
RebootMethodsWatcherRegisterProxy
RebootMethodsWatcherRegisterRegisterRequest
RebootMethodsWatcherRegisterRegisterWatcherRequest
RebootMethodsWatcherRegisterRegisterWatcherResponder
RebootMethodsWatcherRegisterRegisterWithAckRequest
RebootMethodsWatcherRegisterRegisterWithAckResponder
RebootMethodsWatcherRegisterRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcherRegister.
RebootMethodsWatcherRegisterSynchronousProxy
RebootMethodsWatcherRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootMethodsWatcher.
RebootMethodsWatcherSynchronousProxy
RebootOptions
The options specified when a reboot is requested.
RebootWatcherControlHandle
RebootWatcherEventStream
RebootWatcherMarker
RebootWatcherOnRebootRequest
RebootWatcherOnRebootResponder
RebootWatcherProxy
RebootWatcherRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/RebootWatcher.
RebootWatcherSynchronousProxy
ShutdownOptions
The options specified when a shutdown is requested.
ShutdownWatcherControlHandle
ShutdownWatcherEventStream
ShutdownWatcherMarker
ShutdownWatcherOnShutdownRequest
ShutdownWatcherOnShutdownResponder
ShutdownWatcherProxy
ShutdownWatcherRegisterControlHandle
ShutdownWatcherRegisterEventStream
ShutdownWatcherRegisterMarker
ShutdownWatcherRegisterProxy
ShutdownWatcherRegisterRegisterWatcherRequest
ShutdownWatcherRegisterRegisterWatcherResponder
ShutdownWatcherRegisterRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/ShutdownWatcherRegister.
ShutdownWatcherRegisterSynchronousProxy
ShutdownWatcherRequestStream
A Stream of incoming requests for fuchsia.hardware.power.statecontrol/ShutdownWatcher.
ShutdownWatcherSynchronousProxy

Enums§

AdminEvent
AdminRequest
Provides methods to request that the system be transitioned into a supported power state.
RebootMethodsWatcherEvent
RebootMethodsWatcherRegisterEvent
RebootMethodsWatcherRegisterRequest
Allows components to register a callback that will be executed when a Reboot method is called. The main purpose of this protocol is to be able to track reboot reasons. Consider relying on Component Framework’s orderly shutdown if you’re looking at using this protocol.
RebootMethodsWatcherRequest
Allows components to be notified when Reboot related methods are called. Watchers will be given ‘MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS’ to return before the system power state is changed. The channel will be used once to send a notification to the watcher. Once the watcher responds or the timeout expires, the channel will be closed by the client of RebootMethodsWatcher.
RebootReason
Why the system reboots.
RebootReason2
Why the system reboots.
RebootWatcherEvent
RebootWatcherRequest
Allows components to be notified when Reboot related methods are called. Watchers will be given ‘MAX_REBOOT_WATCHER_RESPONSE_TIME_SECONDS’ to return before the system power state is changed. The channel will be used once to send a notification to the watcher. Once the watcher responds or the timeout expires, the channel will be closed by the client of RebootWatcher.
ShutdownAction
ShutdownReason
Why the system is shutting down.
ShutdownWatcherEvent
ShutdownWatcherRegisterEvent
ShutdownWatcherRegisterRequest
Allows components to register a callback that will be executed when the Shutdown method is called. The main purpose of this protocol is to be able to track shutdown reasons. Consider relying on Component Framework’s orderly shutdown if you’re looking at using this protocol.
ShutdownWatcherRequest
Allows components to be notified when the Shutdown method is called. Watchers will be given ‘MAX_SHUTDOWN_WATCHER_RESPONSE_TIME_SECONDS’ to return before the system power state is changed. The channel will be used once to send a notification to the watcher. Once the watcher responds or the timeout expires, the channel will be closed by the client of ShutdownWatcher.

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.

Traits§

AdminProxyInterface
RebootMethodsWatcherProxyInterface
RebootMethodsWatcherRegisterProxyInterface
RebootWatcherProxyInterface
ShutdownWatcherProxyInterface
ShutdownWatcherRegisterProxyInterface

Type Aliases§

AdminMexecResult
AdminPerformRebootResult
AdminPowerFullyOnResult
AdminPoweroffResult
AdminRebootResult
AdminRebootToBootloaderResult
AdminRebootToRecoveryResult
AdminShutdownResult
AdminSuspendToRamResult