pub struct TraceConfig<'a> { /* private fields */ }Implementations§
Source§impl<'a> TraceConfig<'a>
impl<'a> TraceConfig<'a>
Sourcepub fn builder() -> TraceConfigBuilder<'a>
pub fn builder() -> TraceConfigBuilder<'a>
Creates a builder for this type.
Sourcepub fn record_mode(&self) -> Option<&str>
pub fn record_mode(&self) -> Option<&str>
Controls how the trace buffer stores data. The default is ‘recordUntilFull’.
Sourcepub fn trace_buffer_size_in_kb(&self) -> Option<f64>
pub fn trace_buffer_size_in_kb(&self) -> Option<f64>
Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.
Sourcepub fn enable_sampling(&self) -> Option<bool>
pub fn enable_sampling(&self) -> Option<bool>
Turns on JavaScript stack sampling.
Sourcepub fn enable_systrace(&self) -> Option<bool>
pub fn enable_systrace(&self) -> Option<bool>
Turns on system tracing.
Sourcepub fn enable_argument_filter(&self) -> Option<bool>
pub fn enable_argument_filter(&self) -> Option<bool>
Turns on argument filter.
Sourcepub fn included_categories(&self) -> Option<&[Cow<'a, str>]>
pub fn included_categories(&self) -> Option<&[Cow<'a, str>]>
Included category filters.
Sourcepub fn excluded_categories(&self) -> Option<&[Cow<'a, str>]>
pub fn excluded_categories(&self) -> Option<&[Cow<'a, str>]>
Excluded category filters.
Sourcepub fn synthetic_delays(&self) -> Option<&[Cow<'a, str>]>
pub fn synthetic_delays(&self) -> Option<&[Cow<'a, str>]>
Configuration to synthesize the delays in tracing.
Sourcepub fn memory_dump_config(&self) -> Option<&MemoryDumpConfig>
pub fn memory_dump_config(&self) -> Option<&MemoryDumpConfig>
Configuration for memory dump triggers. Used only when “memory-infra” category is enabled.
Trait Implementations§
Source§impl<'a> Clone for TraceConfig<'a>
impl<'a> Clone for TraceConfig<'a>
Source§fn clone(&self) -> TraceConfig<'a>
fn clone(&self) -> TraceConfig<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for TraceConfig<'a>
impl<'a> Debug for TraceConfig<'a>
Source§impl<'a> Default for TraceConfig<'a>
impl<'a> Default for TraceConfig<'a>
Source§fn default() -> TraceConfig<'a>
fn default() -> TraceConfig<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for TraceConfig<'a>
impl<'de, 'a> Deserialize<'de> for TraceConfig<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for TraceConfig<'a>
impl<'a> RefUnwindSafe for TraceConfig<'a>
impl<'a> Send for TraceConfig<'a>
impl<'a> Sync for TraceConfig<'a>
impl<'a> Unpin for TraceConfig<'a>
impl<'a> UnsafeUnpin for TraceConfig<'a>
impl<'a> UnwindSafe for TraceConfig<'a>
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