Skip to main content

redact_diagnostic

Function redact_diagnostic 

Source
pub fn redact_diagnostic(diagnostic: &Diagnostic) -> Diagnostic
Expand description

Apply the existing secret redaction to every externally supplied field. Call before emitting a ThreadEvent, not merely when drawing its UI.