class UdpState

Defined at line 145 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

|UdpState| 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 UdpState kBound
static UdpState kConnected
static UdpState kMask

Public Methods

void UdpState ()

Defined at line 147 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

void UdpState (uint32_t value)

Constructs an instance of |UdpState| from an underlying primitive value,

preserving any bit member not defined in the FIDL schema.

Defined at line 151 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 156 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

bool operator bool ()

Defined at line 157 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

bool operator== (const UdpState & other)

Defined at line 158 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

bool operator!= (const UdpState & other)

Defined at line 159 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

std::optional<UdpState> TryFrom (uint32_t value)

Constructs an instance of |UdpState| 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 173 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState TruncatingUnknown (uint32_t value)

Constructs an instance of |UdpState| from an underlying primitive value,

clearing any bit member not defined in the FIDL schema.

Defined at line 182 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState operator~ ()

Defined at line 195 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState operator| (const UdpState & other)

Defined at line 199 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState operator& (const UdpState & other)

Defined at line 204 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState operator^ (const UdpState & other)

Defined at line 209 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

UdpState operator- (const UdpState & other)

Defined at line 214 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

void operator|= (const UdpState & other)

Defined at line 219 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

void operator&= (const UdpState & other)

Defined at line 224 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

void operator^= (const UdpState & other)

Defined at line 229 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h

void operator-= (const UdpState & other)

Defined at line 234 of file fidling/gen/sdk/fidl/fuchsia.net.matchers/fuchsia.net.matchers/cpp/fidl/fuchsia.net.matchers/cpp/common_types.h