class PackageCacheSyncResult

Defined at line 527 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

Public Methods

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

Sets the union to hold the response member.

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

Sets the union to hold the err member.

void PackageCacheSyncResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kResponse 1

0x1

kErr 2

0x2

TODO: share union tag types between wire

&

natural.

Defined at line 537 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits