pub struct Start {
pub categories: Option<String>,
pub options: Option<String>,
pub buffer_usage_reporting_interval: Option<JsFloat>,
pub transfer_mode: Option<StartTransferModeOption>,
pub stream_format: Option<StreamFormat>,
pub stream_compression: Option<StreamCompression>,
pub trace_config: Option<TraceConfig>,
pub perfetto_config: Option<Vec<u8>>,
pub tracing_backend: Option<TracingBackend>,
}Expand description
Start trace events collection.
Fields§
§categories: Option<String>👎Deprecated
Category/tag filter
options: Option<String>👎Deprecated
Tracing options
buffer_usage_reporting_interval: Option<JsFloat>If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
transfer_mode: Option<StartTransferModeOption>Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to ReportEvents).
stream_format: Option<StreamFormat>Trace data format to use. This only applies when using ReturnAsStream
transfer mode (defaults to json).
stream_compression: Option<StreamCompression>Compression format to use. This only applies when using ReturnAsStream
transfer mode (defaults to none)
trace_config: Option<TraceConfig>§perfetto_config: Option<Vec<u8>>Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
When specified, the parameters categories, options, traceConfig
are ignored.
tracing_backend: Option<TracingBackend>Backend type (defaults to auto)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Start
impl<'de> Deserialize<'de> for Start
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 Method for Start
impl Method for Start
const NAME: &'static str = "Tracing.start"
type ReturnObject = StartReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
impl StructuralPartialEq for Start
Auto Trait Implementations§
impl Freeze for Start
impl RefUnwindSafe for Start
impl Send for Start
impl Sync for Start
impl Unpin for Start
impl UnsafeUnpin for Start
impl UnwindSafe for Start
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