Trait fuzzcheck::SaveToStatsFolder
source · [−]pub trait SaveToStatsFolder {
fn save_to_stats_folder(&self) -> Vec<(PathBuf, Vec<u8>)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
}
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
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.