pub struct SizeDistribution {
pub dist_type: SizeDistType,
pub bins: Vec<(u16, u16, f32)>,
pub parametric_type: Option<ParametricType>,
pub parametric_params: Option<Vec<f64>>,
}Expand description
Packet size distribution
Fields§
§dist_type: SizeDistType§bins: Vec<(u16, u16, f32)>§parametric_type: Option<ParametricType>§parametric_params: Option<Vec<f64>>Implementations§
Trait Implementations§
Source§impl Clone for SizeDistribution
impl Clone for SizeDistribution
Source§fn clone(&self) -> SizeDistribution
fn clone(&self) -> SizeDistribution
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 SizeDistribution
impl Debug for SizeDistribution
Source§impl<'de> Deserialize<'de> for SizeDistribution
impl<'de> Deserialize<'de> for SizeDistribution
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
Auto Trait Implementations§
impl Freeze for SizeDistribution
impl RefUnwindSafe for SizeDistribution
impl Send for SizeDistribution
impl Sync for SizeDistribution
impl Unpin for SizeDistribution
impl UnsafeUnpin for SizeDistribution
impl UnwindSafe for SizeDistribution
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