pub struct StartParams<'a> { /* private fields */ }Expand description
Start trace events collection.
Implementations§
Source§impl<'a> StartParams<'a>
impl<'a> StartParams<'a>
Sourcepub fn builder() -> StartParamsBuilder<'a>
pub fn builder() -> StartParamsBuilder<'a>
Creates a builder for this type.
Sourcepub fn categories(&self) -> Option<&str>
pub fn categories(&self) -> Option<&str>
Category/tag filter
Sourcepub fn buffer_usage_reporting_interval(&self) -> Option<f64>
pub fn buffer_usage_reporting_interval(&self) -> Option<f64>
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
Sourcepub fn transfer_mode(&self) -> Option<&str>
pub fn transfer_mode(&self) -> Option<&str>
Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ‘ReportEvents’).
Sourcepub fn stream_format(&self) -> Option<&StreamFormat>
pub fn stream_format(&self) -> Option<&StreamFormat>
Trace data format to use. This only applies when using ‘ReturnAsStream’ transfer mode (defaults to ‘json’).
Sourcepub fn stream_compression(&self) -> Option<&StreamCompression>
pub fn stream_compression(&self) -> Option<&StreamCompression>
Compression format to use. This only applies when using ‘ReturnAsStream’ transfer mode (defaults to ‘none’)
pub fn trace_config(&self) -> Option<&TraceConfig<'a>>
Sourcepub fn perfetto_config(&self) -> Option<&str>
pub fn perfetto_config(&self) -> Option<&str>
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)
Sourcepub fn tracing_backend(&self) -> Option<&TracingBackend>
pub fn tracing_backend(&self) -> Option<&TracingBackend>
Backend type (defaults to ‘auto’)
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for StartParams<'a>
impl<'a> CdpCommand<'a> for StartParams<'a>
Source§impl<'a> Clone for StartParams<'a>
impl<'a> Clone for StartParams<'a>
Source§fn clone(&self) -> StartParams<'a>
fn clone(&self) -> StartParams<'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 StartParams<'a>
impl<'a> Debug for StartParams<'a>
Source§impl<'a> Default for StartParams<'a>
impl<'a> Default for StartParams<'a>
Source§fn default() -> StartParams<'a>
fn default() -> StartParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for StartParams<'a>
impl<'de, 'a> Deserialize<'de> for StartParams<'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 StartParams<'a>
impl<'a> RefUnwindSafe for StartParams<'a>
impl<'a> Send for StartParams<'a>
impl<'a> Sync for StartParams<'a>
impl<'a> Unpin for StartParams<'a>
impl<'a> UnsafeUnpin for StartParams<'a>
impl<'a> UnwindSafe for StartParams<'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