Expand description
This module contains pre-defined models for BwTrace, DelayTrace, LossTrace and DuplicateTrace.
A model has two parts: a configuration struct and a model struct.
The configuration struct is used to configure the model and
used for serialization/deserialization if serde feature is enabled.
The model struct which implements trait BwTrace, DelayTrace, LossTrace or DuplicateTrace
is used to generate the trace and maintain inner states.
Enable bw-model feature to use the BwTrace models.
Enable delay-model feature to use the DelayTrace models.
Enable loss-model feature to use the LossTrace models.
Enable duplicate-model feature to use the DuplicateTrace models.
Re-exports§
pub use bw::BwTraceConfig;pub use bw::Forever;pub use bw::NormalizedBwConfig;pub use bw::RepeatedBwPatternConfig;pub use bw::SawtoothBwConfig;pub use bw::StaticBwConfig;pub use bw::TraceBwConfig;pub use bw::NormalizedBw;pub use bw::RepeatedBwPattern;pub use bw::SawtoothBw;pub use bw::StaticBw;pub use bw::TraceBw;pub use delay::DelayTraceConfig;pub use delay::RepeatedDelayPatternConfig;pub use delay::StaticDelayConfig;pub use delay::RepeatedDelayPattern;pub use delay::StaticDelay;pub use delay_per_packet::DelayPerPacketTraceConfig;pub use delay_per_packet::LogNormalizedDelayPerPacketConfig;pub use delay_per_packet::NormalizedDelayPerPacketConfig;pub use delay_per_packet::RepeatedDelayPerPacketPatternConfig;pub use delay_per_packet::StaticDelayPerPacketConfig;pub use delay_per_packet::LogNormalizedDelayPerPacket;pub use delay_per_packet::NormalizedDelayPerPacket;pub use delay_per_packet::RepeatedDelayPerPacketPattern;pub use delay_per_packet::StaticDelayPerPacket;pub use loss::LossTraceConfig;pub use loss::RepeatedLossPatternConfig;pub use loss::StaticLossConfig;pub use loss::RepeatedLossPattern;pub use loss::StaticLoss;pub use duplicate::DuplicateTraceConfig;pub use duplicate::RepeatedDuplicatePatternConfig;pub use duplicate::StaticDuplicateConfig;pub use duplicate::RepeatedDuplicatePattern;pub use duplicate::StaticDuplicate;
Modules§
- bw
- This module contains some predefined bandwidth trace models.
- delay
- This module contains some predefined delay trace models.
- delay_
per_ packet - This module contains some predefined delay per-packet trace models.
- duplicate
- This module contains some predefined duplicate trace models.
- loss
- This module contains some predefined loss trace models.
- solve_
truncate - This module provides the
solvefunction to solve the following problem: