pub struct TracingStartOptions {
pub categories: Option<Vec<String>>,
pub screenshots: bool,
pub record_mode: TraceConfigRecordMode,
pub buffer_usage_reporting_interval_ms: Option<f64>,
pub stream_format: StreamFormat,
pub stream_compression: StreamCompression,
pub tracing_backend: Option<TracingBackend>,
}Expand description
Configuration used when starting a tracing session.
Fields§
§categories: Option<Vec<String>>Categories to trace; defaults to a curated set that captures page activity.
screenshots: boolWhether to capture screenshots in addition to trace events.
record_mode: TraceConfigRecordModeTrace record mode (see TraceConfig.record_mode).
buffer_usage_reporting_interval_ms: Option<f64>Optional buffer usage reporting interval in milliseconds.
stream_format: StreamFormatRequested stream format for trace data.
stream_compression: StreamCompressionRequested compression format for the streamed trace.
tracing_backend: Option<TracingBackend>Optional tracing backend to use.
Trait Implementations§
Source§impl Clone for TracingStartOptions
impl Clone for TracingStartOptions
Source§fn clone(&self) -> TracingStartOptions
fn clone(&self) -> TracingStartOptions
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 TracingStartOptions
impl Debug for TracingStartOptions
Auto Trait Implementations§
impl Freeze for TracingStartOptions
impl RefUnwindSafe for TracingStartOptions
impl Send for TracingStartOptions
impl Sync for TracingStartOptions
impl Unpin for TracingStartOptions
impl UnwindSafe for TracingStartOptions
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