class HealthAlert

Defined at line 6837 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

Payload of a proactive health alert emitted by a driver via `OnHealthAlert`.

"Upstream" is what the driver depends on (parents: buses, clocks, power

domains, composite parents). "Downstream" is what depends on the driver

(children / consumers).

Public Methods

void HealthAlert ()
void HealthAlert (const HealthAlert & )

Defined at line 6842 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

HealthAlert & operator= (const HealthAlert & )

Defined at line 6843 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

void HealthAlert (HealthAlert && )

Defined at line 6844 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

HealthAlert & operator= (HealthAlert && )

Defined at line 6845 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

bool IsUnknown ()

Defined at line 6853 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

template <typename... Args>
HealthAlert WithUpstreamNeighborFault (::fidl::AnyArena & allocator, Args &&... args)

The driver cannot make progress because an upstream dependency

(parent/bus/clock/power/register provider) is unresponsive or invalid.

Defined at line 6902 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

bool has_invalid_tag ()
bool is_self_fault ()
HealthAlert WithSelfFault (::fidl::ObjectView< ::fuchsia_driver_framework::wire::HealthCheckResponse> val)

The driver detected an internal hardware or software fault, or

recovered from a previously reported fault (when `conditions` is empty).

Edge-triggered: send when the driver's overall status worsens

(OK->DEGRADED, DEGRADED->UNHEALTHY) and again with empty `conditions`

when it recovers; never per occurrence of an already-reported condition.

template <typename... Args>
HealthAlert WithSelfFault (::fidl::AnyArena & allocator, Args &&... args)

The driver detected an internal hardware or software fault, or

recovered from a previously reported fault (when `conditions` is empty).

Edge-triggered: send when the driver's overall status worsens

(OK->DEGRADED, DEGRADED->UNHEALTHY) and again with empty `conditions`

when it recovers; never per occurrence of an already-reported condition.

Defined at line 6874 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

::fuchsia_driver_framework::wire::HealthCheckResponse & self_fault ()

The driver detected an internal hardware or software fault, or

recovered from a previously reported fault (when `conditions` is empty).

Edge-triggered: send when the driver's overall status worsens

(OK->DEGRADED, DEGRADED->UNHEALTHY) and again with empty `conditions`

when it recovers; never per occurrence of an already-reported condition.

const ::fuchsia_driver_framework::wire::HealthCheckResponse & self_fault ()

The driver detected an internal hardware or software fault, or

recovered from a previously reported fault (when `conditions` is empty).

Edge-triggered: send when the driver's overall status worsens

(OK->DEGRADED, DEGRADED->UNHEALTHY) and again with empty `conditions`

when it recovers; never per occurrence of an already-reported condition.

bool is_upstream_neighbor_fault ()
HealthAlert WithUpstreamNeighborFault (::fidl::ObjectView< ::fuchsia_driver_framework::wire::HealthCheckResponse> val)

The driver cannot make progress because an upstream dependency

(parent/bus/clock/power/register provider) is unresponsive or invalid.

::fuchsia_driver_framework::wire::HealthCheckResponse & upstream_neighbor_fault ()

The driver cannot make progress because an upstream dependency

(parent/bus/clock/power/register provider) is unresponsive or invalid.

const ::fuchsia_driver_framework::wire::HealthCheckResponse & upstream_neighbor_fault ()

The driver cannot make progress because an upstream dependency

(parent/bus/clock/power/register provider) is unresponsive or invalid.

bool is_downstream_neighbor_fault ()
HealthAlert WithDownstreamNeighborFault (::fidl::ObjectView< ::fuchsia_driver_framework::wire::HealthCheckResponse> val)

The driver cannot make progress because a downstream consumer

(child/client) is wedged or failing to drain queues/buffers.

template <typename... Args>
HealthAlert WithDownstreamNeighborFault (::fidl::AnyArena & allocator, Args &&... args)

The driver cannot make progress because a downstream consumer

(child/client) is wedged or failing to drain queues/buffers.

Defined at line 6924 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h

::fuchsia_driver_framework::wire::HealthCheckResponse & downstream_neighbor_fault ()

The driver cannot make progress because a downstream consumer

(child/client) is wedged or failing to drain queues/buffers.

const ::fuchsia_driver_framework::wire::HealthCheckResponse & downstream_neighbor_fault ()

The driver cannot make progress because a downstream consumer

(child/client) is wedged or failing to drain queues/buffers.

::fuchsia_driver_framework::wire::HealthAlert::Tag Which ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kSelfFault 1

0x1

kUpstreamNeighborFault 2

0x2

kDownstreamNeighborFault 3

0x3

_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 6847 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/cpp/fidl/fuchsia.driver.framework/cpp/wire_types.h