pub struct VlanCounters {
pub vlan_id: u32,
pub octets: u64,
pub ucast_pkts: u32,
pub multicast_pkts: u32,
pub broadcast_pkts: u32,
pub discards: u32,
}Expand description
VLAN Counters - Format (0,5)
VLAN statistics
§XDR Definition (sFlow v5)
/* VLAN Counters */
/* opaque = counter_data; enterprise = 0; format = 5 */
struct vlan_counters {
unsigned int vlan_id;
unsigned hyper octets;
unsigned int ucastPkts;
unsigned int multicastPkts;
unsigned int broadcastPkts;
unsigned int discards;
}Fields§
§vlan_id: u32VLAN ID
octets: u64Total octets
ucast_pkts: u32Unicast packets
multicast_pkts: u32Multicast packets
broadcast_pkts: u32Broadcast packets
discards: u32Discarded packets
Trait Implementations§
Source§impl Clone for VlanCounters
impl Clone for VlanCounters
Source§fn clone(&self) -> VlanCounters
fn clone(&self) -> VlanCounters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VlanCounters
impl Debug for VlanCounters
Source§impl PartialEq for VlanCounters
impl PartialEq for VlanCounters
impl Eq for VlanCounters
impl StructuralPartialEq for VlanCounters
Auto Trait Implementations§
impl Freeze for VlanCounters
impl RefUnwindSafe for VlanCounters
impl Send for VlanCounters
impl Sync for VlanCounters
impl Unpin for VlanCounters
impl UnwindSafe for VlanCounters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more