class TxReturnFlags

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

Flags set by a Device when returning a tx buffer back to a client.

Set by Devices on the `return_flags` field of a tx descriptor.

|TxReturnFlags| is flexible, hence may contain unknown members not

defined in the FIDL schema.

Public Members

static TxReturnFlags TX_RET_NOT_SUPPORTED
static TxReturnFlags TX_RET_OUT_OF_RESOURCES
static TxReturnFlags TX_RET_NOT_AVAILABLE
static TxReturnFlags TX_RET_ERROR
static TxReturnFlags kMask

Public Methods

void TxReturnFlags ()

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

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

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

TxReturnFlags TruncatingUnknown (uint32_t value)

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

clearing any bit member not defined in the FIDL schema.

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

void TxReturnFlags (uint32_t value)

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

preserving any bit member not defined in the FIDL schema.

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

uint32_t operator unsigned int ()

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

bool operator bool ()

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

bool operator== (const TxReturnFlags & other)

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

bool operator!= (const TxReturnFlags & other)

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

TxReturnFlags unknown_bits ()

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

bool has_unknown_bits ()

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

TxReturnFlags operator~ ()

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

TxReturnFlags operator| (const TxReturnFlags & other)

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

TxReturnFlags operator& (const TxReturnFlags & other)

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

TxReturnFlags operator^ (const TxReturnFlags & other)

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

void operator|= (const TxReturnFlags & other)

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

void operator&= (const TxReturnFlags & other)

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

void operator^= (const TxReturnFlags & other)

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