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§
Sourcefn resource_key(&self, key: &ResourceKey) -> ResourceKey
fn resource_key(&self, key: &ResourceKey) -> ResourceKey
Redacts a resource key.
Sourcefn invariant_name(&self, name: &str) -> String
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".