class TxReturnFlags

Defined at line 347 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 349 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 354 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 363 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 369 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 376 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 377 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 378 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 379 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 387 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 390 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h

TxReturnFlags operator~ ()

Defined at line 405 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 409 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 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 419 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 424 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 429 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 434 of file fidling/gen/sdk/fidl/fuchsia.hardware.network/fuchsia.hardware.network/hlcpp/fuchsia/hardware/network/cpp/fidl.h