pub struct StartCommandBuilder { /* private fields */ }Available on crate features
experimental and Tracing and IO only.Implementations§
Source§impl StartCommandBuilder
impl StartCommandBuilder
Sourcepub fn categories(&mut self, v: String) -> &mut Self
👎Deprecated
pub fn categories(&mut self, v: String) -> &mut Self
Category/tag filter
Sourcepub fn buffer_usage_reporting_interval(&mut self, v: f64) -> &mut Self
pub fn buffer_usage_reporting_interval(&mut self, v: f64) -> &mut Self
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
Sourcepub fn transfer_mode(&mut self, v: StartCommandTransferMode) -> &mut Self
pub fn transfer_mode(&mut self, v: StartCommandTransferMode) -> &mut Self
Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to ReportEvents).
Sourcepub fn stream_format(&mut self, v: StreamFormat) -> &mut Self
pub fn stream_format(&mut self, v: StreamFormat) -> &mut Self
Trace data format to use. This only applies when using ReturnAsStream
transfer mode (defaults to json).
Sourcepub fn stream_compression(&mut self, v: StreamCompression) -> &mut Self
pub fn stream_compression(&mut self, v: StreamCompression) -> &mut Self
Compression format to use. This only applies when using ReturnAsStream
transfer mode (defaults to none)
pub fn trace_config(&mut self, v: TraceConfig) -> &mut Self
Sourcepub fn perfetto_config(&mut self, v: String) -> &mut Self
pub fn perfetto_config(&mut self, v: String) -> &mut Self
Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
When specified, the parameters categories, options, traceConfig
are ignored.
Sourcepub fn tracing_backend(&mut self, v: TracingBackend) -> &mut Self
pub fn tracing_backend(&mut self, v: TracingBackend) -> &mut Self
Backend type (defaults to auto)
pub fn build(&mut self) -> Result<StartCommand, &'static str>
Trait Implementations§
Source§impl Clone for StartCommandBuilder
impl Clone for StartCommandBuilder
Source§fn clone(&self) -> StartCommandBuilder
fn clone(&self) -> StartCommandBuilder
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 StartCommandBuilder
impl Debug for StartCommandBuilder
Auto Trait Implementations§
impl Freeze for StartCommandBuilder
impl RefUnwindSafe for StartCommandBuilder
impl Send for StartCommandBuilder
impl Sync for StartCommandBuilder
impl Unpin for StartCommandBuilder
impl UnwindSafe for StartCommandBuilder
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