pub trait BuildPath {
// Required method
fn build_path(captures: &Self, pattern: &str) -> String;
}Expand description
Builds a URL path by substituting capture values into {} placeholders.
Required Methods§
fn build_path(captures: &Self, pattern: &str) -> String
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.