class EthernetFeatures

Defined at line 23 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 25 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 29 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 37 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 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

bool operator!= (const EthernetFeatures & other)

Defined at line 40 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 54 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 63 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 82 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 86 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 91 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 96 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 101 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 106 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 111 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 116 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 121 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/cpp/fidl/fuchsia.hardware.network/cpp/common_types.h