class SessionFlags

Defined at line 536 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 kReportInvalidRx
static SessionFlags kReceiveRxPowerLeases
static SessionFlags kMask

Public Methods

void SessionFlags ()

Defined at line 538 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 542 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 547 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 548 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 549 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 550 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 564 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 573 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 586 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 590 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 595 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 600 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 605 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 610 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 615 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 620 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 625 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h