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>
Object Safety§
This trait is not object safe.