Struct BorderRoutingCounters
pub struct BorderRoutingCounters {Show 18 fields
pub inbound_unicast_packets: Option<u64>,
pub inbound_unicast_bytes: Option<u64>,
pub inbound_multicast_packets: Option<u64>,
pub inbound_multicast_bytes: Option<u64>,
pub outbound_unicast_packets: Option<u64>,
pub outbound_unicast_bytes: Option<u64>,
pub outbound_multicast_packets: Option<u64>,
pub outbound_multicast_bytes: Option<u64>,
pub ra_rx: Option<u32>,
pub ra_tx_success: Option<u32>,
pub ra_tx_failure: Option<u32>,
pub rs_rx: Option<u32>,
pub rs_tx_success: Option<u32>,
pub rs_tx_failure: Option<u32>,
pub inbound_internet_packets: Option<u64>,
pub inbound_internet_bytes: Option<u64>,
pub outbound_internet_packets: Option<u64>,
pub outbound_internet_bytes: Option<u64>,
/* private fields */
}
Expand description
Counters associated with border routing.
Fields§
§inbound_unicast_packets: Option<u64>
The number of packets associated with inbound unicast messages.
Required.
inbound_unicast_bytes: Option<u64>
The number of bytes associated with inbound unicast messages.
Required.
inbound_multicast_packets: Option<u64>
The number of packets associated with inbound multicast messages.
Required.
inbound_multicast_bytes: Option<u64>
The number of bytes associated with inbound multicast messages.
Required.
outbound_unicast_packets: Option<u64>
The number of packets associated with outbound unicast messages.
Required.
outbound_unicast_bytes: Option<u64>
The number of bytes associated with outbound unicast messages.
Required.
outbound_multicast_packets: Option<u64>
The number of packets associated with outbound multicast messages.
Required.
outbound_multicast_bytes: Option<u64>
The number of bytes associated with outbound multicast messages.
Required.
ra_rx: Option<u32>
The number of received RA packets.
Required.
ra_tx_success: Option<u32>
The number of RA packets successfully transmitted.
Required.
ra_tx_failure: Option<u32>
The number of RA packets failed to transmit.
Required.
rs_rx: Option<u32>
The number of received RS packets.
Required.
rs_tx_success: Option<u32>
The number of RS packets successfully transmitted.
Required.
rs_tx_failure: Option<u32>
The number of RS packets failed to transmit.
Required.
inbound_internet_packets: Option<u64>
Inbound Internet packets when DHCPv6 PD enabled.
Optional.
inbound_internet_bytes: Option<u64>
Inbound Internet bytes when DHCPv6 PD enabled.
Optional.
outbound_internet_packets: Option<u64>
Outbound Internet packets when DHCPv6 PD enabled.
Optional.
outbound_internet_bytes: Option<u64>
Outbound Internet bytes when DHCPv6 PD enabled.
Optional.
Trait Implementations§
§impl Clone for BorderRoutingCounters
impl Clone for BorderRoutingCounters
§fn clone(&self) -> BorderRoutingCounters
fn clone(&self) -> BorderRoutingCounters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for BorderRoutingCounters
impl Debug for BorderRoutingCounters
§impl<D> Decode<BorderRoutingCounters, D> for BorderRoutingCounterswhere
D: ResourceDialect,
impl<D> Decode<BorderRoutingCounters, D> for BorderRoutingCounterswhere
D: ResourceDialect,
§fn new_empty() -> BorderRoutingCounters
fn new_empty() -> BorderRoutingCounters
Self
. The specific value does not matter,
since it will be overwritten by decode
.§impl Default for BorderRoutingCounters
impl Default for BorderRoutingCounters
§fn default() -> BorderRoutingCounters
fn default() -> BorderRoutingCounters
§impl<D> Encode<BorderRoutingCounters, D> for &BorderRoutingCounterswhere
D: ResourceDialect,
impl<D> Encode<BorderRoutingCounters, D> for &BorderRoutingCounterswhere
D: ResourceDialect,
§impl PartialEq for BorderRoutingCounters
impl PartialEq for BorderRoutingCounters
§impl TypeMarker for BorderRoutingCounters
impl TypeMarker for BorderRoutingCounters
§type Owned = BorderRoutingCounters
type Owned = BorderRoutingCounters
§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.§impl ValueTypeMarker for BorderRoutingCounters
impl ValueTypeMarker for BorderRoutingCounters
§type Borrowed<'a> = &'a BorderRoutingCounters
type Borrowed<'a> = &'a BorderRoutingCounters
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<BorderRoutingCounters as TypeMarker>::Owned,
) -> <BorderRoutingCounters as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<BorderRoutingCounters as TypeMarker>::Owned, ) -> <BorderRoutingCounters as ValueTypeMarker>::Borrowed<'_>
&Self::Owned
to Self::Borrowed
.