class EthernetFeatures

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

Ethernet frame sub-types and features.

|EthernetFeatures| 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 EthernetFeatures kRaw
static EthernetFeatures kEthernetIi
static EthernetFeatures kE8021Q
static EthernetFeatures kE8021QInQ
static EthernetFeatures kE8023LlcSnap
static EthernetFeatures kMask

Public Methods

void EthernetFeatures ()

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

void EthernetFeatures (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

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

bool operator== (const EthernetFeatures & other)

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

bool operator!= (const EthernetFeatures & other)

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

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

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

EthernetFeatures TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

EthernetFeatures operator~ ()

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

EthernetFeatures operator| (const EthernetFeatures & other)

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

EthernetFeatures operator& (const EthernetFeatures & other)

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

EthernetFeatures operator^ (const EthernetFeatures & other)

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

EthernetFeatures operator- (const EthernetFeatures & other)

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

void operator|= (const EthernetFeatures & other)

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

void operator&= (const EthernetFeatures & other)

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

void operator^= (const EthernetFeatures & other)

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

void operator-= (const EthernetFeatures & other)

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