Trait PathInputExt
pub trait PathInputExt {
// Required method
fn path_ref(&self) -> PathRef<'_>;
}Available on crate feature
net only.Expand description
Read the URI path of a service input.
Implementations should return a typed PathRef and use
Uri::path_ref_or_root when the path comes from a Uri, so an empty URI
path is observed as / and callers never need to fall back to raw strings.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".