class StatusFlags

Defined at line 442 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

Port status bits, reported in [`PortStatus.flags`].

|StatusFlags| 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 StatusFlags kOnline
static StatusFlags kMask

Public Methods

void StatusFlags ()

Defined at line 444 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

void StatusFlags (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

Defined at line 448 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

uint32_t operator unsigned int ()

Defined at line 452 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

bool operator bool ()

Defined at line 453 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

bool operator== (const StatusFlags & other)

Defined at line 454 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

bool operator!= (const StatusFlags & other)

Defined at line 455 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

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

Constructs an instance of |StatusFlags| 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 469 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

Defined at line 478 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags operator~ ()

Defined at line 489 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags operator| (const StatusFlags & other)

Defined at line 493 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags operator& (const StatusFlags & other)

Defined at line 498 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags operator^ (const StatusFlags & other)

Defined at line 503 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

StatusFlags operator- (const StatusFlags & other)

Defined at line 508 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

void operator|= (const StatusFlags & other)

Defined at line 513 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

void operator&= (const StatusFlags & other)

Defined at line 518 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

void operator^= (const StatusFlags & other)

Defined at line 523 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

void operator-= (const StatusFlags & other)

Defined at line 528 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h