class SocketCreationOptions
Defined at line 18382 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
Options that can be provided at socket creation.
Public Methods
void SocketCreationOptions (Storage_ storage)
bool IsEmpty ()
void SocketCreationOptions ()
Defined at line 18387 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
void SocketCreationOptions (SocketCreationOptions && )
Defined at line 18388 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
const std::optional< ::fuchsia_net::Marks> & marks ()
The marks for the created socket. If a mark is missing from the table,
it will remain unset for the created socket.
::std::optional< ::fuchsia_net::Marks> & marks ()
The marks for the created socket. If a mark is missing from the table,
it will remain unset for the created socket.
SocketCreationOptions & marks (std::optional< ::fuchsia_net::Marks> value)
The marks for the created socket. If a mark is missing from the table,
it will remain unset for the created socket.
const std::optional< ::fuchsia_net_resources::WakeGroupToken> & group ()
A wake group to add the socket to on creation.
If absent, the socket is not added to any wake group. If the token
provided does not correspond to an existing wake group, socket creation
succeeds, but the socket is not added to any wake group. This makes it
easier for clients to avoid a race between shutting down their wake
group and creating a new socket.
::std::optional< ::fuchsia_net_resources::WakeGroupToken> & group ()
A wake group to add the socket to on creation.
If absent, the socket is not added to any wake group. If the token
provided does not correspond to an existing wake group, socket creation
succeeds, but the socket is not added to any wake group. This makes it
easier for clients to avoid a race between shutting down their wake
group and creating a new socket.
SocketCreationOptions & group (std::optional< ::fuchsia_net_resources::WakeGroupToken> value)
A wake group to add the socket to on creation.
If absent, the socket is not added to any wake group. If the token
provided does not correspond to an existing wake group, socket creation
succeeds, but the socket is not added to any wake group. This makes it
easier for clients to avoid a race between shutting down their wake
group and creating a new socket.
void SocketCreationOptions (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
SocketCreationOptions & operator= (SocketCreationOptions && )
Defined at line 18389 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalTableCodingTraits