Skip to main content

RedactReplicatedValue

Trait RedactReplicatedValue 

Source
pub trait RedactReplicatedValue: Send + Sync {
    // Required method
    fn redact(&self, plaintext: &[u8]) -> Vec<u8> ;
}
Expand description

Optional redaction hook before replicated bytes are sealed/sent.

Required Methods§

Source

fn redact(&self, plaintext: &[u8]) -> Vec<u8>

Return the bytes that are allowed to cross the replication boundary.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§