template <>

class WireSyncBufferClientImpl

Defined at line 497 of file fidling/gen/sdk/fidl/fuchsia.system.state/fuchsia.system.state/cpp/fidl/fuchsia.system.state/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_system_state::SystemStateTransition::GetTerminationSystemState> GetTerminationSystemState ()

Gets the termination state.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_system_state::SystemStateTransition::GetMexecZbis> GetMexecZbis ()

When the system termination state is MEXEC, in the course of shutting

down, driver_manager will perform an mexec itself after suspending all

drivers. This method allows driver manager to fetch the kernel and

data ZBIs to be passed to zx_system_mexec().

This method only should only be invoked in the case MEXEC shutdown.

It is expected that the ZBI items specified by

`zx_system_mexec_payload_get()` have not yet been appended to the

provided data ZBI.

Returns

* ZX_ERR_BAD_STATE: The termination system state is not set to MEXEC.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.