Struct cdp::tracing::TraceConfig
[−]
[src]
pub struct TraceConfig<'a> {
pub record_mode: Option<TraceConfigRecordMode>,
pub enable_sampling: Option<bool>,
pub enable_systrace: Option<bool>,
pub enable_argument_filter: Option<bool>,
pub included_categories: Option<Vec<Cow<'a, str>>>,
pub excluded_categories: Option<Vec<Cow<'a, str>>>,
pub synthetic_delays: Option<Vec<Cow<'a, str>>>,
pub memory_dump_config: Option<MemoryDumpConfig>,
}[Experimental]
Fields
record_mode: Option<TraceConfigRecordMode>
Controls how the trace buffer stores data.
enable_sampling: Option<bool>
Turns on JavaScript stack sampling.
enable_systrace: Option<bool>
Turns on system tracing.
enable_argument_filter: Option<bool>
Turns on argument filter.
included_categories: Option<Vec<Cow<'a, str>>>
Included category filters.
excluded_categories: Option<Vec<Cow<'a, str>>>
Excluded category filters.
synthetic_delays: Option<Vec<Cow<'a, str>>>
Configuration to synthesize the delays in tracing.
memory_dump_config: Option<MemoryDumpConfig>
Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
Trait Implementations
impl<'a> Clone for TraceConfig<'a>[src]
fn clone(&self) -> TraceConfig<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for TraceConfig<'a>[src]
impl<'a> PartialEq for TraceConfig<'a>[src]
fn eq(&self, __arg_0: &TraceConfig<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TraceConfig<'a>) -> bool[src]
This method tests for !=.