class RecvMsgFlags
Defined at line 124 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
Flags controlling RecvMsg behavior.
|RecvMsgFlags| is strict, hence is guaranteed to only contain
members defined in the FIDL schema when receiving it in a message.
Sending unknown members will fail at runtime.
Public Members
static RecvMsgFlags kPeek
static RecvMsgFlags kMask
Public Methods
void RecvMsgFlags ()
Defined at line 126 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
void RecvMsgFlags (uint16_t value)
Constructs an instance of |RecvMsgFlags| from an underlying primitive value,
preserving any bit member not defined in the FIDL schema.
Defined at line 130 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
uint16_t operator unsigned short ()
Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
bool operator bool ()
Defined at line 135 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
bool operator== (const RecvMsgFlags & other)
Defined at line 136 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
bool operator!= (const RecvMsgFlags & other)
Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
std::optional<RecvMsgFlags> TryFrom (uint16_t value)
Constructs an instance of |RecvMsgFlags| from an underlying primitive value
if the primitive does not contain any unknown members not defined in the
FIDL schema. Otherwise, returns |std::nullopt|.
Defined at line 151 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags TruncatingUnknown (uint16_t value)
Constructs an instance of |RecvMsgFlags| from an underlying primitive value,
clearing any bit member not defined in the FIDL schema.
Defined at line 160 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags operator~ ()
Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags operator| (const RecvMsgFlags & other)
Defined at line 175 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags operator& (const RecvMsgFlags & other)
Defined at line 180 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags operator^ (const RecvMsgFlags & other)
Defined at line 185 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
RecvMsgFlags operator- (const RecvMsgFlags & other)
Defined at line 190 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
void operator|= (const RecvMsgFlags & other)
Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
void operator&= (const RecvMsgFlags & other)
Defined at line 200 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
void operator^= (const RecvMsgFlags & other)
Defined at line 205 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h
void operator-= (const RecvMsgFlags & other)
Defined at line 210 of file fidling/gen/sdk/fidl/fuchsia.posix.socket/fuchsia.posix.socket/cpp/fidl/fuchsia.posix.socket/cpp/common_types.h