class DeviceEnableResult

Defined at line 469 of file fidling/gen/sdk/fidl/fuchsia.hardware.serialimpl/fuchsia.hardware.serialimpl/cpp/fidl/fuchsia.hardware.serialimpl/cpp/natural_types.h

Public Methods

void DeviceEnableResult (DeviceEnableResult && other)
DeviceEnableResult & operator= (DeviceEnableResult && other)
void DeviceEnableResult (const DeviceEnableResult & other)
DeviceEnableResult & operator= (const DeviceEnableResult & other)
bool operator== (const DeviceEnableResult & other)
bool operator!= (const DeviceEnableResult & other)
::fuchsia_hardware_serialimpl::DeviceEnableResult::Tag Which ()
DeviceEnableResult WithResponse (::fuchsia_hardware_serialimpl::DeviceEnableResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
DeviceEnableResult & response (::fuchsia_hardware_serialimpl::DeviceEnableResponse value)

Sets the union to hold the response member.

DeviceEnableResult WithErr (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
DeviceEnableResult & err (int32_t value)

Sets the union to hold the err member.

DeviceEnableResult WithFrameworkErr (::fidl::internal::FrameworkErr val)
const ::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
::fidl::internal::UnionMemberView<3, Storage_> framework_err ()
DeviceEnableResult & framework_err (::fidl::internal::FrameworkErr value)

Sets the union to hold the framework_err member.

void DeviceEnableResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2
kFrameworkErr 3

TODO: share union tag types between wire

&

natural.

Defined at line 477 of file fidling/gen/sdk/fidl/fuchsia.hardware.serialimpl/fuchsia.hardware.serialimpl/cpp/fidl/fuchsia.hardware.serialimpl/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits