pub struct DiscardedPacket {
pub sequence_number: u32,
pub ds_class: u32,
pub ds_index: u32,
pub drops: u32,
pub input: u32,
pub output: u32,
pub reason: u32,
pub records: Vec<FlowRecord>,
}Expand description
Discarded packet notification sample (enterprise=0, format=5).
Reports packets discarded by the switch, along with the reason and flow records describing the discarded packet.
Fields§
§sequence_number: u32§ds_class: u32§ds_index: u32§drops: u32§input: u32§output: u32§reason: u32§records: Vec<FlowRecord>Trait Implementations§
Source§impl Clone for DiscardedPacket
impl Clone for DiscardedPacket
Source§fn clone(&self) -> DiscardedPacket
fn clone(&self) -> DiscardedPacket
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 DiscardedPacket
impl Debug for DiscardedPacket
Source§impl<'de> Deserialize<'de> for DiscardedPacket
impl<'de> Deserialize<'de> for DiscardedPacket
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DiscardedPacket
impl PartialEq for DiscardedPacket
Source§impl Serialize for DiscardedPacket
impl Serialize for DiscardedPacket
impl Eq for DiscardedPacket
impl StructuralPartialEq for DiscardedPacket
Auto Trait Implementations§
impl Freeze for DiscardedPacket
impl RefUnwindSafe for DiscardedPacket
impl Send for DiscardedPacket
impl Sync for DiscardedPacket
impl Unpin for DiscardedPacket
impl UnsafeUnpin for DiscardedPacket
impl UnwindSafe for DiscardedPacket
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