class TxReturnFlags

Defined at line 542 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 544 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 549 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 558 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 564 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 571 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 572 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 573 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 574 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 582 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 585 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

TxReturnFlags operator~ ()

Defined at line 600 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 604 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 609 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 614 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 619 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 624 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 629 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h