Skip to main content

RedactableBoxed

Trait RedactableBoxed 

Source
pub trait RedactableBoxed {
    // Required method
    fn redact_boxed(self: Box<Self>) -> Box<Self>;
}
Expand description

Redacts boxed trait objects that expose their own boxed redaction.

This is intentionally minimal and does not require RedactionMapper since boxed trait objects typically provide their own redaction behavior.

Required Methods§

Source

fn redact_boxed(self: Box<Self>) -> Box<Self>

Redacts the boxed value in-place and returns it.

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.

Implementors§