pub struct TraceConfig { /* private fields */ }Available on crate features
experimental and Tracing and IO only.Implementations§
Source§impl TraceConfig
impl TraceConfig
pub fn builder() -> TraceConfigBuilder
Sourcepub fn record_mode(&self) -> Option<&TraceConfigRecordMode>
pub fn record_mode(&self) -> Option<&TraceConfigRecordMode>
Controls how the trace buffer stores data.
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<&Vec<String>>
pub fn included_categories(&self) -> Option<&Vec<String>>
Included category filters.
Sourcepub fn excluded_categories(&self) -> Option<&Vec<String>>
pub fn excluded_categories(&self) -> Option<&Vec<String>>
Excluded category filters.
Sourcepub fn synthetic_delays(&self) -> Option<&Vec<String>>
pub fn synthetic_delays(&self) -> Option<&Vec<String>>
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 Clone for TraceConfig
impl Clone for TraceConfig
Source§fn clone(&self) -> TraceConfig
fn clone(&self) -> TraceConfig
Returns a duplicate 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 moreSource§impl Debug for TraceConfig
impl Debug for TraceConfig
Source§impl<'de> Deserialize<'de> for TraceConfig
impl<'de> Deserialize<'de> for TraceConfig
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 Freeze for TraceConfig
impl RefUnwindSafe for TraceConfig
impl Send for TraceConfig
impl Sync for TraceConfig
impl Unpin for TraceConfig
impl UnwindSafe for TraceConfig
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