Skip to main content

RedactedOutputExt

Trait RedactedOutputExt 

Source
pub trait RedactedOutputExt {
    // Required method
    fn redacted_output(&self) -> RedactedOutputRef<'_, Self>
       where Self: Sized;
}
Expand description

Extension trait to obtain a redacted output wrapper.

Required Methods§

Source

fn redacted_output(&self) -> RedactedOutputRef<'_, Self>
where Self: Sized,

Wraps the value for explicit logging-safe output.

Implementors§

Source§

impl<T> RedactedOutputExt for T
where T: Redactable + Clone + Debug,