class NonEmptyResultWithErrorClassification

Defined at line 426 of file fidling/gen/src/tests/fidl/dynsuite/client_suite/fidl/fidl.clientsuite/cpp/fidl/fidl.clientsuite/cpp/natural_types.h

Public Methods

void NonEmptyResultWithErrorClassification (NonEmptyResultWithErrorClassification && other)
NonEmptyResultWithErrorClassification & operator= (NonEmptyResultWithErrorClassification && other)
void NonEmptyResultWithErrorClassification (const NonEmptyResultWithErrorClassification & other)
NonEmptyResultWithErrorClassification & operator= (const NonEmptyResultWithErrorClassification & other)
bool operator== (const NonEmptyResultWithErrorClassification & other)
bool operator!= (const NonEmptyResultWithErrorClassification & other)
bool IsUnknown ()
::fidl_clientsuite::NonEmptyResultWithErrorClassification::Tag Which ()
NonEmptyResultWithErrorClassification WithSuccess (::fidl_clientsuite::NonEmptyPayload val)
const ::fidl::internal::UnionMemberView<1, Storage_> success ()
::fidl::internal::UnionMemberView<1, Storage_> success ()
NonEmptyResultWithErrorClassification & success (::fidl_clientsuite::NonEmptyPayload value)

Sets the union to hold the success member.

NonEmptyResultWithErrorClassification WithApplicationError (int32_t val)
const ::fidl::internal::UnionMemberView<2, Storage_> application_error ()
::fidl::internal::UnionMemberView<2, Storage_> application_error ()
NonEmptyResultWithErrorClassification & application_error (int32_t value)

Sets the union to hold the application_error member.

NonEmptyResultWithErrorClassification WithFidlError (::fidl_clientsuite::FidlErrorKind val)
const ::fidl::internal::UnionMemberView<3, Storage_> fidl_error ()
::fidl::internal::UnionMemberView<3, Storage_> fidl_error ()
NonEmptyResultWithErrorClassification & fidl_error (::fidl_clientsuite::FidlErrorKind value)

Sets the union to hold the fidl_error member.

void NonEmptyResultWithErrorClassification (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kSuccess 1
kApplicationError 2
kFidlError 3
_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max()

TODO: share union tag types between wire

&

natural.

Defined at line 437 of file fidling/gen/src/tests/fidl/dynsuite/client_suite/fidl/fidl.clientsuite/cpp/fidl/fidl.clientsuite/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits