Trait SaveToStatsFolder

Source
pub trait SaveToStatsFolder {
    // Required method
    fn save_to_stats_folder(&self) -> Vec<(PathBuf, Vec<u8>)>;
}
Expand description

A trait for types that want to save their content to the stats folder which is created after a fuzzing run.

Required Methods§

Source

fn save_to_stats_folder(&self) -> Vec<(PathBuf, Vec<u8>)>

Save information about self to the stats folder

Return a vector of tuples (path_to_file, serialised_content) representing a list of files to create under the stats_folder. The first element of each tuple is the path of the new created file. If this path is relative, it is relative to the stats folder path. The second element is the content of the file, as bytes.

Implementations on Foreign Types§

Source§

impl<A, B> SaveToStatsFolder for (A, B)

Implementors§