MahimahiExt

Trait MahimahiExt 

Source
pub trait MahimahiExt: Mahimahi {
    // Provided methods
    fn mahimahi_to_string(&mut self, total_dur: &Duration) -> String { ... }
    fn mahimahi_to_file<P: AsRef<Path>>(
        &mut self,
        total_dur: &Duration,
        path: P,
    ) { ... }
}
Expand description

The MahimahiExt trait provides some convenient methods to generate a trace in mahimahi format.

Provided Methods§

Source

fn mahimahi_to_string(&mut self, total_dur: &Duration) -> String

Join the mahimahi timestamp sequence to a string.

Source

fn mahimahi_to_file<P: AsRef<Path>>(&mut self, total_dur: &Duration, path: P)

Write the mahimahi timestamp sequence to a file.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§