class DriverResult
Defined at line 4553 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 4583 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 4587 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 4590 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 4596 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 4602 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 4605 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 4611 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 4617 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 4620 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 4626 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 4633 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 4649 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 4652 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 4658 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
void ~DriverResult ()
Enumerations
enum Tag
| Name | Value |
|---|---|
| kUnknown | 0 |
| kDriverStartedNodeToken | 1 |
| kMatchError | 2 |
| kStartError | 3 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 4567 of file fidling/gen/sdk/fidl/fuchsia.driver.framework/fuchsia.driver.framework/hlcpp/fuchsia/driver/framework/cpp/fidl.h
Friends
class Equality