Skip to main content

TraceRedactor

Trait TraceRedactor 

Source
pub trait TraceRedactor {
    // Provided methods
    fn step_name(&self, name: &str) -> String { ... }
    fn resource_key(&self, key: &ResourceKey) -> ResourceKey { ... }
    fn invariant_name(&self, name: &str) -> String { ... }
}
Expand description

Redaction hook for scenario debug and snapshot output.

Provided Methods§

Source

fn step_name(&self, name: &str) -> String

Redacts a scenario step name.

Source

fn resource_key(&self, key: &ResourceKey) -> ResourceKey

Redacts a resource key.

Source

fn invariant_name(&self, name: &str) -> String

Redacts an invariant name.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§