pub trait AsUriPath {
// Required method
fn as_uri_path(&self) -> impl Iterator<Item = &str>;
}Expand description
A component that represents Uri-Path options.
This is typically either of:
- [
&[str]]: the raw URI path components. str: a URI refernce in path-absolute form (starting with a slash). It will produce its slash-separated segments, and end before the query identifier (question mark,?) or the fragment identifier (hash sign,#) if any is present to stay within the regular URI conventions.
Required Methods§
fn as_uri_path(&self) -> impl Iterator<Item = &str>
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.