pub struct TraceConfig {
pub record_mode: Option<TraceConfigRecordMode>,
pub trace_buffer_size_in_kb: Option<f64>,
pub enable_sampling: Option<bool>,
pub enable_systrace: Option<bool>,
pub enable_argument_filter: Option<bool>,
pub included_categories: Option<Vec<String>>,
pub excluded_categories: Option<Vec<String>>,
pub synthetic_delays: Option<Vec<String>>,
pub memory_dump_config: Option<MemoryDumpConfig>,
}Fields§
§record_mode: Option<TraceConfigRecordMode>Controls how the trace buffer stores data. The default is
recordUntilFull.
Experimental: may change without notice.
trace_buffer_size_in_kb: 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.
Experimental: may change without notice.
enable_sampling: Option<bool>Turns on JavaScript stack sampling.
Experimental: may change without notice.
enable_systrace: Option<bool>Turns on system tracing.
Experimental: may change without notice.
enable_argument_filter: Option<bool>Turns on argument filter.
Experimental: may change without notice.
included_categories: Option<Vec<String>>Included category filters.
excluded_categories: Option<Vec<String>>Excluded category filters.
synthetic_delays: Option<Vec<String>>Configuration to synthesize the delays in tracing.
Experimental: may change without notice.
memory_dump_config: Option<MemoryDumpConfig>Configuration for memory dump triggers. Used only when “memory-infra” category is enabled.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for TraceConfig
impl Clone for TraceConfig
Source§impl Debug for TraceConfig
impl Debug for TraceConfig
Source§impl Default for TraceConfig
impl Default 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
Source§impl PartialEq for TraceConfig
impl PartialEq for TraceConfig
Source§impl Serialize for TraceConfig
impl Serialize for TraceConfig
impl StructuralPartialEq for TraceConfig
Auto Trait Implementations§
impl Forget for TraceConfig
impl Freeze for TraceConfig
impl RefUnwindSafe for TraceConfig
impl Send for TraceConfig
impl Sync for TraceConfig
impl Unpin for TraceConfig
impl UnsafeUnpin 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