pub enum SampleData {
    FlowSample(FlowSample),
    CountersSample(CountersSample),
    FlowSampleExpanded(FlowSampleExpanded),
    CountersSampleExpanded(CountersSampleExpanded),
    DiscardedPacket(DiscardedPacket),
    Unknown {
        format: DataFormat,
        data: Vec<u8>,
    },
}Expand description
Sample data types
Variants§
FlowSample(FlowSample)
CountersSample(CountersSample)
FlowSampleExpanded(FlowSampleExpanded)
CountersSampleExpanded(CountersSampleExpanded)
DiscardedPacket(DiscardedPacket)
Unknown
Trait Implementations§
Source§impl Clone for SampleData
 
impl Clone for SampleData
Source§fn clone(&self) -> SampleData
 
fn clone(&self) -> SampleData
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 SampleData
 
impl Debug for SampleData
Source§impl PartialEq for SampleData
 
impl PartialEq for SampleData
impl StructuralPartialEq for SampleData
Auto Trait Implementations§
impl Freeze for SampleData
impl RefUnwindSafe for SampleData
impl Send for SampleData
impl Sync for SampleData
impl Unpin for SampleData
impl UnwindSafe for SampleData
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