pub struct TrafficStats {
pub packet_sizes: Vec<u16>,
pub inter_arrivals: Vec<f64>,
pub entropy_samples: Vec<f64>,
pub pps: f64,
pub bps: f64,
}Expand description
Traffic statistics for neural analysis
Fields§
§packet_sizes: Vec<u16>Packet sizes (last N packets)
inter_arrivals: Vec<f64>Inter-arrival times (ms)
entropy_samples: Vec<f64>Byte-level entropy samples
pps: f64Packets per second
bps: f64Bytes per second
Implementations§
Trait Implementations§
Source§impl Clone for TrafficStats
impl Clone for TrafficStats
Source§fn clone(&self) -> TrafficStats
fn clone(&self) -> TrafficStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TrafficStats
impl Debug for TrafficStats
Source§impl Default for TrafficStats
impl Default for TrafficStats
Source§fn default() -> TrafficStats
fn default() -> TrafficStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrafficStats
impl RefUnwindSafe for TrafficStats
impl Send for TrafficStats
impl Sync for TrafficStats
impl Unpin for TrafficStats
impl UnsafeUnpin for TrafficStats
impl UnwindSafe for TrafficStats
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