pub struct TracePolicy {
pub enabled: bool,
pub propagate_context: bool,
pub record_message_id: bool,
pub record_message_keys: bool,
pub record_body_size: bool,
}Expand description
Immutable per-handle tracing and message-correlation policy.
Fields§
§enabled: boolWhether this handle may create exportable tracing spans.
propagate_context: boolWhether message trace context should be injected and extracted.
record_message_id: boolWhether spans may include an opaque message identifier.
record_message_keys: boolWhether spans may include message keys.
record_body_size: boolWhether spans may include message body size.
Trait Implementations§
Source§impl Clone for TracePolicy
impl Clone for TracePolicy
impl Copy for TracePolicy
Source§impl Debug for TracePolicy
impl Debug for TracePolicy
Source§impl Default for TracePolicy
impl Default for TracePolicy
impl Eq for TracePolicy
Source§impl PartialEq for TracePolicy
impl PartialEq for TracePolicy
impl StructuralPartialEq for TracePolicy
Auto Trait Implementations§
impl Freeze for TracePolicy
impl RefUnwindSafe for TracePolicy
impl Send for TracePolicy
impl Sync for TracePolicy
impl Unpin for TracePolicy
impl UnsafeUnpin for TracePolicy
impl UnwindSafe for TracePolicy
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