class DriverResult

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

Public Members

static const fidl_type_t * FidlType

Public Methods

void DriverResult ()
void DriverResult (DriverResult && )
DriverResult WithDriverStartedNodeToken (::zx::event && )
DriverResult WithMatchError (int32_t && )
DriverResult WithStartError (int32_t && )
::std::unique_ptr<DriverResult> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, DriverResult * value, size_t offset)
zx_status_t Clone (DriverResult * result)
DriverResult & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes, std::vector<zx::handle> handles)
bool has_invalid_tag ()

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

bool is_driver_started_node_token ()

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

::zx::event & driver_started_node_token ()

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

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

const ::zx::event & driver_started_node_token ()

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

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

bool is_match_error ()

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

int32_t & match_error ()

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

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

const int32_t & match_error ()

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

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

bool is_start_error ()

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

DriverResult & operator= (DriverResult && )
DriverResult & set_driver_started_node_token (::zx::event value)
DriverResult & set_match_error (int32_t value)
DriverResult & set_start_error (int32_t value)
int32_t & start_error ()

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

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

const int32_t & start_error ()

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

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

::fuchsia::driver::framework::DriverResult::Tag Which ()

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

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

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

const std::vector<uint8_t> * UnknownBytes ()

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

const std::vector<zx::handle> * UnknownHandles ()

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

void ~DriverResult ()

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kDriverStartedNodeToken 1

0x1

kMatchError 2

0x2

kStartError 3

0x3

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

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

Friends

class Equality