class TxResult
Defined at line 798 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h
The result of a tx operation, reported to [`NetworkDeviceIfc`] through
[`NetworkDeviceIfc.CompleteTx`].
Public Methods
void TxResult (Storage_ storage)
void TxResult (uint32_t id, int32_t status)
void TxResult ()
Default constructs a |TxResult| only if all of its members are default constructible.
Defined at line 808 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h
void TxResult (TxResult && )
Defined at line 811 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h
void TxResult (const TxResult & other)
TxResult & operator= (TxResult && )
Defined at line 812 of file fidling/gen/sdk/fidl/fuchsia.hardware.network.driver/fuchsia.hardware.network.driver/cpp/fidl/fuchsia.hardware.network.driver/cpp/natural_types.h
TxResult & operator= (const TxResult & other)
bool operator== (const TxResult & other)
bool operator!= (const TxResult & other)
uint32_t id ()
The buffer identifier informed in the [`TxBuffer`] that originated this
`TxResult`.
uint32_t & id ()
The buffer identifier informed in the [`TxBuffer`] that originated this
`TxResult`.
TxResult & id (uint32_t value)
The buffer identifier informed in the [`TxBuffer`] that originated this
`TxResult`.
int32_t status ()
The result status to report.
Error results map to their equivalents in
[`fuchsia.hardware.network/TxReturnFlags`].
- `ZX_OK` if the frame was sent successfully.
- `ZX_ERR_NOT_SUPPORTED` if any of the frame's flags are not supported.
- `ZX_ERR_NO_RESOURCES` if the transmit failed to allocate space in its
output queue for the frame.
- `ZX_ERR_UNAVAILABLE` if the device is offline (or went offline before
getting a confirmation that the frame was sent) or stopped.
- `ZX_ERR_INTERNAL` or any other unlisted errors will be reported as a
generic [`fuchsia.hardware.network/TxReturnFlags.TX_RET_ERROR`].
int32_t & status ()
The result status to report.
Error results map to their equivalents in
[`fuchsia.hardware.network/TxReturnFlags`].
- `ZX_OK` if the frame was sent successfully.
- `ZX_ERR_NOT_SUPPORTED` if any of the frame's flags are not supported.
- `ZX_ERR_NO_RESOURCES` if the transmit failed to allocate space in its
output queue for the frame.
- `ZX_ERR_UNAVAILABLE` if the device is offline (or went offline before
getting a confirmation that the frame was sent) or stopped.
- `ZX_ERR_INTERNAL` or any other unlisted errors will be reported as a
generic [`fuchsia.hardware.network/TxReturnFlags.TX_RET_ERROR`].
TxResult & status (int32_t value)
The result status to report.
Error results map to their equivalents in
[`fuchsia.hardware.network/TxReturnFlags`].
- `ZX_OK` if the frame was sent successfully.
- `ZX_ERR_NOT_SUPPORTED` if any of the frame's flags are not supported.
- `ZX_ERR_NO_RESOURCES` if the transmit failed to allocate space in its
output queue for the frame.
- `ZX_ERR_UNAVAILABLE` if the device is offline (or went offline before
getting a confirmation that the frame was sent) or stopped.
- `ZX_ERR_INTERNAL` or any other unlisted errors will be reported as a
generic [`fuchsia.hardware.network/TxReturnFlags.TX_RET_ERROR`].
void TxResult (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits