Skip to main content

PathMapper

Trait PathMapper 

Source
pub trait PathMapper {
    // Required method
    fn map_path(&self, value: &str) -> String;
}
Expand description

Pure provider-supplied path normalization performed before redaction.

Required Methods§

Source

fn map_path(&self, value: &str) -> String

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl PathMapper for NoPathMapping

Source§

impl<F> PathMapper for F
where F: Fn(&str) -> String,