pub trait Redactable: SensitiveType {
// Provided method
fn redact(self) -> Self { ... }
}Expand description
Public entrypoint for redaction on traversable types.
This trait is blanket-implemented for all [SensitiveType] types and
provides a convenience redact() method.
redact is implemented in terms of the default mapping behavior provided by
super::redact::redact, which applies policies associated with classification
types.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.