pub struct TracingOptions { /* private fields */ }Expand description
Options for tracing.
Implementations§
Source§impl TracingOptions
impl TracingOptions
Sourcepub fn with_record_hybrid_insert_threshold(self, threshold: Duration) -> Self
pub fn with_record_hybrid_insert_threshold(self, threshold: Duration) -> Self
Set the threshold for recording the hybrid cache insert and insert_with_context operation.
Sourcepub fn with_record_hybrid_get_threshold(self, threshold: Duration) -> Self
pub fn with_record_hybrid_get_threshold(self, threshold: Duration) -> Self
Set the threshold for recording the hybrid cache get operation.
Sourcepub fn with_record_hybrid_obtain_threshold(self, threshold: Duration) -> Self
pub fn with_record_hybrid_obtain_threshold(self, threshold: Duration) -> Self
Set the threshold for recording the hybrid cache obtain operation.
Sourcepub fn with_record_hybrid_remove_threshold(self, threshold: Duration) -> Self
pub fn with_record_hybrid_remove_threshold(self, threshold: Duration) -> Self
Set the threshold for recording the hybrid cache remove operation.
Sourcepub fn with_record_hybrid_fetch_threshold(self, threshold: Duration) -> Self
pub fn with_record_hybrid_fetch_threshold(self, threshold: Duration) -> Self
Set the threshold for recording the hybrid cache fetch operation.
Trait Implementations§
Source§impl Clone for TracingOptions
impl Clone for TracingOptions
Source§fn clone(&self) -> TracingOptions
fn clone(&self) -> TracingOptions
Returns a copy 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 TracingOptions
impl Debug for TracingOptions
Source§impl Default for TracingOptions
impl Default for TracingOptions
Source§impl<'de> Deserialize<'de> for TracingOptions
impl<'de> Deserialize<'de> for TracingOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TracingOptions
impl RefUnwindSafe for TracingOptions
impl Send for TracingOptions
impl Sync for TracingOptions
impl Unpin for TracingOptions
impl UnwindSafe for TracingOptions
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