pub struct TracingConfig { /* private fields */ }Expand description
Configurations for tracing.
Implementations§
Source§impl TracingConfig
impl TracingConfig
Sourcepub fn update(&self, options: TracingOptions)
pub fn update(&self, options: TracingOptions)
Update tracing config with options.
Sourcepub fn record_hybrid_insert_threshold(&self) -> Duration
pub fn record_hybrid_insert_threshold(&self) -> Duration
Threshold for recording the hybrid cache insert and insert_with_context operation.
Sourcepub fn record_hybrid_get_threshold(&self) -> Duration
pub fn record_hybrid_get_threshold(&self) -> Duration
Threshold for recording the hybrid cache get operation.
Sourcepub fn record_hybrid_obtain_threshold(&self) -> Duration
pub fn record_hybrid_obtain_threshold(&self) -> Duration
Threshold for recording the hybrid cache obtain operation.
Sourcepub fn record_hybrid_remove_threshold(&self) -> Duration
pub fn record_hybrid_remove_threshold(&self) -> Duration
Threshold for recording the hybrid cache remove operation.
Sourcepub fn record_hybrid_fetch_threshold(&self) -> Duration
pub fn record_hybrid_fetch_threshold(&self) -> Duration
Threshold for recording the hybrid cache fetch operation.
Trait Implementations§
Source§impl Debug for TracingConfig
impl Debug for TracingConfig
Source§impl Default for TracingConfig
impl Default for TracingConfig
Source§fn default() -> TracingConfig
fn default() -> TracingConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for TracingConfig
impl RefUnwindSafe for TracingConfig
impl Send for TracingConfig
impl Sync for TracingConfig
impl Unpin for TracingConfig
impl UnwindSafe for TracingConfig
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