class UfsPhyPrePowerModeChangeResult

Defined at line 608 of file fidling/gen/sdk/fidl/fuchsia.hardware.ufs.phy/fuchsia.hardware.ufs.phy/cpp/fidl/fuchsia.hardware.ufs.phy/cpp/natural_types.h

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void UfsPhyPrePowerModeChangeResult (::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 616 of file fidling/gen/sdk/fidl/fuchsia.hardware.ufs.phy/fuchsia.hardware.ufs.phy/cpp/fidl/fuchsia.hardware.ufs.phy/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits