class TxReturnFlags

Defined at line 548 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 550 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 555 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 564 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 570 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 577 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 578 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 579 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 580 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 588 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 591 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

TxReturnFlags operator~ ()

Defined at line 606 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 610 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 615 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 620 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 625 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 630 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 635 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h