class LessorLeaseResult

Defined at line 1177 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h

Public Methods

void LessorLeaseResult (LessorLeaseResult && other)
LessorLeaseResult & operator= (LessorLeaseResult && other)
::fuchsia_power_broker::LessorLeaseResult::Tag Which ()
LessorLeaseResult WithResponse (::fuchsia_power_broker::LessorLeaseResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
LessorLeaseResult & response (::fuchsia_power_broker::LessorLeaseResponse value)

Sets the union to hold the response member.

LessorLeaseResult WithErr (::fuchsia_power_broker::LeaseError val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
LessorLeaseResult & err (::fuchsia_power_broker::LeaseError value)

Sets the union to hold the err member.

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

Sets the union to hold the framework_err member.

void LessorLeaseResult (::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 1185 of file fidling/gen/sdk/fidl/fuchsia.power.broker/fuchsia.power.broker/cpp/fidl/fuchsia.power.broker/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits