pub struct StartParams {
pub categories: Option<String>,
pub options: Option<String>,
pub bufferUsageReportingInterval: Option<f64>,
pub transferMode: Option<String>,
pub streamFormat: Option<StreamFormat>,
pub streamCompression: Option<StreamCompression>,
pub traceConfig: Option<TraceConfig>,
pub perfettoConfig: Option<String>,
pub tracingBackend: Option<TracingBackend>,
}Expand description
Start trace events collection.
Fields§
§categories: Option<String>Category/tag filter
options: Option<String>Tracing options
bufferUsageReportingInterval: Option<f64>If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
transferMode: Option<String>Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ‘ReportEvents’).
streamFormat: Option<StreamFormat>Trace data format to use. This only applies when using ‘ReturnAsStream’ transfer mode (defaults to ‘json’).
streamCompression: Option<StreamCompression>Compression format to use. This only applies when using ‘ReturnAsStream’ transfer mode (defaults to ‘none’)
traceConfig: Option<TraceConfig>§perfettoConfig: Option<String>Base64-encoded serialized perfetto.protos.TraceConfig protobuf message When specified, the parameters ‘categories’, ‘options’, ‘traceConfig’ are ignored. (Encoded as a base64 string when passed over JSON)
tracingBackend: Option<TracingBackend>Backend type (defaults to ‘auto’)
Implementations§
Trait Implementations§
Source§impl CdpCommand for StartParams
impl CdpCommand for StartParams
Source§impl Clone for StartParams
impl Clone for StartParams
Source§fn clone(&self) -> StartParams
fn clone(&self) -> StartParams
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 StartParams
impl Debug for StartParams
Source§impl Default for StartParams
impl Default for StartParams
Source§fn default() -> StartParams
fn default() -> StartParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartParams
impl<'de> Deserialize<'de> for StartParams
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 StartParams
impl RefUnwindSafe for StartParams
impl Send for StartParams
impl Sync for StartParams
impl Unpin for StartParams
impl UnsafeUnpin for StartParams
impl UnwindSafe for StartParams
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