Skip to main content

StackProfileExt

Trait StackProfileExt 

Source
pub trait StackProfileExt {
    // Required method
    fn to_mzfg(&self, symbolize: bool, header_extra: &[(&str, &str)]) -> String;
}

Required Methods§

Source

fn to_mzfg(&self, symbolize: bool, header_extra: &[(&str, &str)]) -> String

Writes out the .mzfg format, which is fully described in flamegraph.js.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl StackProfileExt for StackProfile

Source§

fn to_mzfg(&self, symbolize: bool, header_extra: &[(&str, &str)]) -> String

Implementors§