Struct cdp::tracing::StartCommand
[−]
[src]
pub struct StartCommand<'a> { pub categories: Option<Cow<'a, str>>, pub options: Option<Cow<'a, str>>, pub buffer_usage_reporting_interval: Option<f64>, pub transfer_mode: Option<StartCommandTransferMode>, pub trace_config: Option<TraceConfig<'a>>, }
[Experimental] Start trace events collection.
Command Tracing.start
Domain Module: cdp::tracing
Command Struct: cdp::tracing::StartCommand
Response Struct: cdp::tracing::StartResponse
Fields
categories: Option<Cow<'a, str>>
Deprecated
Category/tag filter
options: Option<Cow<'a, str>>
Deprecated
Tracing options
buffer_usage_reporting_interval: Option<f64>
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
transfer_mode: Option<StartCommandTransferMode>
Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents
).
trace_config: Option<TraceConfig<'a>>
Trait Implementations
impl<'a> Clone for StartCommand<'a>
[src]
fn clone(&self) -> StartCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for StartCommand<'a>
[src]
impl<'a> PartialEq for StartCommand<'a>
[src]
fn eq(&self, __arg_0: &StartCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StartCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for StartCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Tracing.start"
impl<'a> SerializeCdpCommand for StartCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for StartCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,