class SessionStartResult

Defined at line 1193 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

Public Methods

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

Sets the union to hold the response member.

SessionStartResult WithErr (::fuchsia_cpu_profiler::SessionStartError val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
SessionStartResult & err (::fuchsia_cpu_profiler::SessionStartError value)

Sets the union to hold the err member.

void SessionStartResult (::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 1201 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits