pub trait Redactor: Send + Sync {
// Required method
fn redact(&self, input: &str) -> RedactionResult;
}Required Methods§
fn redact(&self, input: &str) -> RedactionResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".