pub trait RedactedOutputExt {
// Required method
fn redacted_output(&self) -> RedactedOutputRef<'_, Self>
where Self: Sized;
}Expand description
Extension trait to obtain a redacted output wrapper.
Requires Redactable, which only types with declared redaction behavior
implement - raw passthrough leaves like String cannot be certified as
redacted output.
Required Methods§
Sourcefn redacted_output(&self) -> RedactedOutputRef<'_, Self>where
Self: Sized,
fn redacted_output(&self) -> RedactedOutputRef<'_, Self>where
Self: Sized,
Wraps the value for explicit logging-safe output.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".