Struct chrome_remote_interface_model::tracing::TraceConfigBuilder[][src]

pub struct TraceConfigBuilder { /* fields omitted */ }
This is supported on crate features experimental and Tracing and IO only.

Implementations

impl TraceConfigBuilder[src]

pub fn record_mode(&mut self, v: TraceConfigRecordMode) -> &mut Self[src]

Controls how the trace buffer stores data.

pub fn enable_sampling(&mut self, v: bool) -> &mut Self[src]

Turns on JavaScript stack sampling.

pub fn enable_systrace(&mut self, v: bool) -> &mut Self[src]

Turns on system tracing.

pub fn enable_argument_filter(&mut self, v: bool) -> &mut Self[src]

Turns on argument filter.

pub fn included_categories(&mut self, v: Vec<String>) -> &mut Self[src]

Included category filters.

pub fn excluded_categories(&mut self, v: Vec<String>) -> &mut Self[src]

Excluded category filters.

pub fn synthetic_delays(&mut self, v: Vec<String>) -> &mut Self[src]

Configuration to synthesize the delays in tracing.

pub fn memory_dump_config(&mut self, v: MemoryDumpConfig) -> &mut Self[src]

Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.

pub fn build(&mut self) -> Result<TraceConfig, &'static str>[src]

Trait Implementations

impl Clone for TraceConfigBuilder[src]

impl Debug for TraceConfigBuilder[src]

impl Default for TraceConfigBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.