Skip to main content

redact

Function redact 

Source
pub fn redact<W>(value: W) -> W
where W: SensitiveType,
Expand description

Redacts a value using classification-bound policies.

The traversal is defined by [SensitiveType] implementations, typically generated by the derive macro.

This function is total: policy application does not propagate errors. Any failure handling is performed by the selected policy implementation.