pub struct StartCommand { /* private fields */ }Available on crate features
experimental and Tracing and IO only.Expand description
Start trace events collection.
Implementations§
Source§impl StartCommand
impl StartCommand
pub fn builder() -> StartCommandBuilder
Sourcepub fn categories(&self) -> Option<&String>
👎Deprecated
pub fn categories(&self) -> Option<&String>
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<&StartCommandTransferMode>
pub fn transfer_mode(&self) -> Option<&StartCommandTransferMode>
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>
Sourcepub fn perfetto_config(&self) -> Option<&String>
pub fn perfetto_config(&self) -> Option<&String>
Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
When specified, the parameters categories, options, traceConfig
are ignored.
Sourcepub fn tracing_backend(&self) -> Option<&TracingBackend>
pub fn tracing_backend(&self) -> Option<&TracingBackend>
Backend type (defaults to auto)
Trait Implementations§
Source§impl Clone for StartCommand
impl Clone for StartCommand
Source§fn clone(&self) -> StartCommand
fn clone(&self) -> StartCommand
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 Command for StartCommand
impl Command for StartCommand
Source§impl Debug for StartCommand
impl Debug for StartCommand
Source§impl<'de> Deserialize<'de> for StartCommand
impl<'de> Deserialize<'de> for StartCommand
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 StartCommand
impl RefUnwindSafe for StartCommand
impl Send for StartCommand
impl Sync for StartCommand
impl Unpin for StartCommand
impl UnwindSafe for StartCommand
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