class LossConfig
Defined at line 185 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
Provides emulated packet loss configuration.
Public Methods
void LossConfig (LossConfig && other)
LossConfig & operator= (LossConfig && other)
void LossConfig (const LossConfig & other)
LossConfig & operator= (const LossConfig & other)
bool operator== (const LossConfig & other)
bool operator!= (const LossConfig & other)
::fuchsia_netemul_network::LossConfig::Tag Which ()
LossConfig WithRandomRate (uint8_t val)
const ::fidl::internal::UnionMemberView<1, Storage_> random_rate ()
::fidl::internal::UnionMemberView<1, Storage_> random_rate ()
LossConfig & random_rate (uint8_t value)
Rate of packet loss expressed as independent drop probability [0-100].
void LossConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Enumerations
enum Tag
| Name | Value |
|---|---|
| kRandomRate | 1 |
TODO: share union tag types between wire
&
natural.
Defined at line 193 of file fidling/gen/src/connectivity/network/testing/netemul/network-context/fidl/network/cpp/fidl/fuchsia.netemul.network/cpp/natural_types.h
Friends
class NaturalUnionCodingTraits