pub trait RequestType {
const METHOD: Method;
const PATH_AND_QUERY: &'static str;
}Expand description
Types that represent a request being made to the server.
Required Associated Constants§
Sourceconst PATH_AND_QUERY: &'static str
const PATH_AND_QUERY: &'static str
The component of the URI following the domain.
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.