pub trait IntoPath: TryInto<Path, Error: Into<PathParseError>> { }Expand description
Bound alias for path parameters: any argument convertible into a Path
via TryInto whose failure converts into a PathParseError.
Blanket-implemented, so Path, &Path, &str, and String all
satisfy it; a third-party type opts in by implementing TryFrom<T> for Path.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".