Skip to main content

Stage1

Trait Stage1 

Source
pub trait Stage1:
    Iterator<Item = SeededData<TimePoint>>
    + Clone
    + Send
    + 'static {
    // Required method
    fn get_initial_ts(&self) -> Duration;
}
Expand description

Stage 1: generate timestamps. Generate a throughput according to some distribution and never stops. It always prepares the next windows (i.e., not the one being sent)

Required Methods§

Source

fn get_initial_ts(&self) -> Duration

Used to compute the duration of generated data

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§