[][src]Struct tracing_wasm::WASMLayerConfig

pub struct WASMLayerConfig {
    pub report_logs_in_timings: bool,
    pub report_logs_in_console: bool,
    pub use_console_color: bool,
}

Fields

report_logs_in_timings: bool

Log events will be marked and measured so they appear in performance Timings

report_logs_in_console: bool

Log events will be logged to the browser console

use_console_color: bool

Only relevant if report_logs_in_console is true, this will use color style strings in the console.

Trait Implementations

impl Default for WASMLayerConfig[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, 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.