class SourceSetRoleResult
Defined at line 793 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Public Methods
void SourceSetRoleResult (SourceSetRoleResult && other)
SourceSetRoleResult & operator= (SourceSetRoleResult && other)
void SourceSetRoleResult (const SourceSetRoleResult & other)
SourceSetRoleResult & operator= (const SourceSetRoleResult & other)
bool operator== (const SourceSetRoleResult & other)
bool operator!= (const SourceSetRoleResult & other)
::fuchsia_hardware_power_source::SourceSetRoleResult::Tag Which ()
SourceSetRoleResult WithResponse (::fuchsia_hardware_power_source::SourceSetRoleResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
SourceSetRoleResult & response (::fuchsia_hardware_power_source::SourceSetRoleResponse value)
Sets the union to hold the response member.
SourceSetRoleResult WithErr (::fuchsia_hardware_power_source::Error val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
SourceSetRoleResult & err (::fuchsia_hardware_power_source::Error value)
Sets the union to hold the err member.
SourceSetRoleResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
SourceSetRoleResult & framework_err (::fidl::internal::FrameworkErr value)
Sets the union to hold the framework_err member.
void SourceSetRoleResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum class Tag : fidl_xunion_tag_t
| Name | Value | Comments |
|---|---|---|
| kResponse | 1 |
0x1 |
| kErr | 2 |
0x2 |
| kFrameworkErr | 3 |
0x3 |
TODO: share union tag types between wire
&
natural.
Defined at line 801 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.source/fuchsia.hardware.power.source/cpp/fidl/fuchsia.hardware.power.source/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits