class DriverResult

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

Public Methods

void DriverResult (DriverResult && other)
DriverResult & operator= (DriverResult && other)
bool IsUnknown ()
::fuchsia_driver_framework::DriverResult::Tag Which ()
DriverResult WithDriverStartedNodeToken (::zx::event val)
const ::fidl::internal::UnionMemberView<1, Storage_> driver_started_node_token ()
::fidl::internal::UnionMemberView<1, Storage_> driver_started_node_token ()
DriverResult & driver_started_node_token (::zx::event value)

The token that belongs to the node that a driver has started successfully on.

DriverResult WithMatchError (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> match_error ()
::fidl::internal::UnionMemberView<2, Storage_> match_error ()
DriverResult & match_error (int32_t value)

The node failed to find a matching driver or composite spec.

DriverResult WithStartError (int32_t val)
const ::fidl::internal::UnionMemberView<3, Storage_> start_error ()
::fidl::internal::UnionMemberView<3, Storage_> start_error ()
DriverResult & start_error (int32_t value)

The driver that bound to the node failed to start successfully.

void DriverResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kDriverStartedNodeToken 1
kMatchError 2
kStartError 3
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits