pub enum TraceDebugPolicy {
Drop,
Redacted,
FullPayload,
}Expand description
Policy for debug-level trace capture.
Variants§
Drop
Drop debug spans and events.
Redacted
Keep debug spans and events, but redact raw payload-like attributes.
FullPayload
Keep debug spans, events, and payload-like attributes.
Trait Implementations§
Source§impl Clone for TraceDebugPolicy
impl Clone for TraceDebugPolicy
Source§fn clone(&self) -> TraceDebugPolicy
fn clone(&self) -> TraceDebugPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TraceDebugPolicy
Source§impl Debug for TraceDebugPolicy
impl Debug for TraceDebugPolicy
Source§impl Default for TraceDebugPolicy
impl Default for TraceDebugPolicy
Source§fn default() -> TraceDebugPolicy
fn default() -> TraceDebugPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceDebugPolicy
impl<'de> Deserialize<'de> for TraceDebugPolicy
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
impl Eq for TraceDebugPolicy
Source§impl PartialEq for TraceDebugPolicy
impl PartialEq for TraceDebugPolicy
Source§impl Serialize for TraceDebugPolicy
impl Serialize for TraceDebugPolicy
impl StructuralPartialEq for TraceDebugPolicy
Auto Trait Implementations§
impl Freeze for TraceDebugPolicy
impl RefUnwindSafe for TraceDebugPolicy
impl Send for TraceDebugPolicy
impl Sync for TraceDebugPolicy
impl Unpin for TraceDebugPolicy
impl UnsafeUnpin for TraceDebugPolicy
impl UnwindSafe for TraceDebugPolicy
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