class SessionFlags

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

Additional session options.

|SessionFlags| 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 SessionFlags kPrimary
static SessionFlags kListenTx
static SessionFlags kReportInvalidRx
static SessionFlags kReceiveRxPowerLeases
static SessionFlags kMask

Public Methods

void SessionFlags ()

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

void SessionFlags (uint16_t value)

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

preserving any bit member not defined in the FIDL schema.

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

uint16_t operator unsigned short ()

Defined at line 641 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 642 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h

bool operator== (const SessionFlags & other)

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

bool operator!= (const SessionFlags & other)

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

std::optional<SessionFlags> TryFrom (uint16_t value)

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

SessionFlags TruncatingUnknown (uint16_t value)

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

clearing any bit member not defined in the FIDL schema.

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

SessionFlags operator~ ()

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

SessionFlags operator| (const SessionFlags & other)

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

SessionFlags operator& (const SessionFlags & other)

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

SessionFlags operator^ (const SessionFlags & other)

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

SessionFlags operator- (const SessionFlags & other)

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

void operator|= (const SessionFlags & other)

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

void operator&= (const SessionFlags & other)

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

void operator^= (const SessionFlags & other)

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

void operator-= (const SessionFlags & other)

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