Struct tracing_tracy::DefaultConfig
source · pub struct DefaultConfig(/* private fields */);
Expand description
A default configuration of the TracyLayer
.
This type does not allow for any adjustment of the configuration. In order to customize
the behaviour of the layer implement the Config
trait for your own type.
Trait Implementations§
source§impl Config for DefaultConfig
impl Config for DefaultConfig
type Formatter = DefaultFields
source§fn stack_depth(&self, metadata: &Metadata<'_>) -> u16
fn stack_depth(&self, metadata: &Metadata<'_>) -> u16
Specify the maximum number of stack frames that will be collected. Read more
source§fn format_fields_in_zone_name(&self) -> bool
fn format_fields_in_zone_name(&self) -> bool
Specify whether or not to include tracing span fields in the tracy zone name, or to emit
them as zone text. Read more
source§impl Default for DefaultConfig
impl Default for DefaultConfig
source§fn default() -> DefaultConfig
fn default() -> DefaultConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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