pub trait RedactMapValueMut<K: ?Sized, V: ?Sized> {
// Required method
fn redact_map_in_place(&mut self, policy: &RedactionPolicy);
}Expand description
Redacts map values in place after classifying each value by its runtime key.
This provides logical replacement only; see RedactValueMut for its
memory-erasure boundary.
§Type Parameters
K- Runtime map-key type used for field classification.V- Mutable map-value type redacted in place.
Required Methods§
Sourcefn redact_map_in_place(&mut self, policy: &RedactionPolicy)
fn redact_map_in_place(&mut self, policy: &RedactionPolicy)
Replaces sensitive values according to policy.
§Parameters
policy- Complete policy used to classify every runtime key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".