class StatusFlags
Defined at line 531 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 533 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 537 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 541 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 542 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 543 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 544 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 558 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 567 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 578 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 582 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 587 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 592 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 597 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 602 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 607 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 612 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 617 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h