class 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
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 535 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 539 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 543 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 544 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 545 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 546 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 560 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 569 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 580 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 584 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 589 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 594 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 599 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 604 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 609 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 614 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 619 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h