class StreamSocketAcceptResult

Defined at line 14257 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h

Public Methods

void StreamSocketAcceptResult (StreamSocketAcceptResult && other)
StreamSocketAcceptResult & operator= (StreamSocketAcceptResult && other)
::fuchsia_posix_socket::StreamSocketAcceptResult::Tag Which ()
StreamSocketAcceptResult WithResponse (::fuchsia_posix_socket::StreamSocketAcceptResponse val)
const ::fidl::internal::UnionMemberView<1, Storage_> response ()
::fidl::internal::UnionMemberView<1, Storage_> response ()
StreamSocketAcceptResult & response (::fuchsia_posix_socket::StreamSocketAcceptResponse value)

Sets the union to hold the response member.

StreamSocketAcceptResult WithErr (::fuchsia_posix::Errno val)
const ::fidl::internal::UnionMemberView<2, Storage_> err ()
::fidl::internal::UnionMemberView<2, Storage_> err ()
StreamSocketAcceptResult & err (::fuchsia_posix::Errno value)

Sets the union to hold the err member.

void StreamSocketAcceptResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum Tag
Name Value
kResponse 1
kErr 2

TODO: share union tag types between wire

&

natural.

Defined at line 14267 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h

Friends

class NaturalUnionCodingTraits