pub struct ExportProfdataConfig {
pub ignore_registry_files: bool,
pub other_binaries: Vec<PathBuf>,
}Expand description
The configuration to use when exporting a .profdata file
into a .json file.
Fields§
§ignore_registry_files: boolWhether to ignore files from the cargo registry.
other_binaries: Vec<PathBuf>Other binaries to include in the export.
By default, only the test binary is included (via the CoreTestDesc’s
bin_path field), but if the test has spawned some other child process
(as often happens when testing binaries), and they
were profiled, the paths to those binaries should
be passed here.
Trait Implementations§
Source§impl Clone for ExportProfdataConfig
impl Clone for ExportProfdataConfig
Source§fn clone(&self) -> ExportProfdataConfig
fn clone(&self) -> ExportProfdataConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExportProfdataConfig
impl RefUnwindSafe for ExportProfdataConfig
impl Send for ExportProfdataConfig
impl Sync for ExportProfdataConfig
impl Unpin for ExportProfdataConfig
impl UnwindSafe for ExportProfdataConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more