class ReusePortOption
Defined at line 12989 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
SO_REUSEPORT option.
Public Members
static const fidl_type_t * FidlType
Public Methods
void ReusePortOption ()
void ~ReusePortOption ()
void ReusePortOption (ReusePortOption && )
ReusePortOption & operator= (ReusePortOption && )
ReusePortOption WithDisabled (::fuchsia::posix::socket::Empty && )
ReusePortOption WithEnabled (::zx::event && )
::std::unique_ptr<ReusePortOption> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ReusePortOption * value, size_t offset)
zx_status_t Clone (ReusePortOption * result)
bool has_invalid_tag ()
Defined at line 13016 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool is_disabled ()
Defined at line 13020 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::Empty & disabled ()
SO_REUSEPORT disabled.
Defined at line 13023 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::fuchsia::posix::socket::Empty & disabled ()
SO_REUSEPORT disabled.
Defined at line 13029 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
bool is_enabled ()
Defined at line 13035 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::zx::event & enabled ()
SO_REUSEPORT enabled in the sharing domain identified by the token.
Defined at line 13038 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
const ::zx::event & enabled ()
SO_REUSEPORT enabled in the sharing domain identified by the token.
Defined at line 13044 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
::fuchsia::posix::socket::ReusePortOption::Tag Which ()
Defined at line 13050 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
fidl_xunion_tag_t Ordinal ()
You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need
access to the raw integral ordinal value.
Defined at line 13058 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
ReusePortOption & set_disabled (::fuchsia::posix::socket::Empty value)
ReusePortOption & set_enabled (::zx::event value)
Enumerations
enum Tag
| Name | Value |
|---|---|
| kDisabled | 1 |
| kEnabled | 2 |
| Invalid | ::std::numeric_limits<::fidl_union_tag_t>::max() |
Defined at line 13002 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/hlcpp/fuchsia/posix/socket/cpp/fidl.h
Friends
class Equality