pub enum LatencyDistribution {
Fixed,
Normal,
Pareto,
}
Expand description
Latency distribution types
Variants§
Fixed
Fixed latency with optional jitter (backward compatible)
Normal
Normal (Gaussian) distribution
Pareto
Pareto (power-law) distribution for heavy-tailed latency
Trait Implementations§
Source§impl Clone for LatencyDistribution
impl Clone for LatencyDistribution
Source§fn clone(&self) -> LatencyDistribution
fn clone(&self) -> LatencyDistribution
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 LatencyDistribution
impl Debug for LatencyDistribution
Source§impl Default for LatencyDistribution
impl Default for LatencyDistribution
Source§fn default() -> LatencyDistribution
fn default() -> LatencyDistribution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LatencyDistribution
impl<'de> Deserialize<'de> for LatencyDistribution
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 LatencyDistribution
impl RefUnwindSafe for LatencyDistribution
impl Send for LatencyDistribution
impl Sync for LatencyDistribution
impl Unpin for LatencyDistribution
impl UnwindSafe for LatencyDistribution
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