pub trait HttpService<Args>: Handler<Args> {
const METHOD: Method = Method::GET;
const PATH: &'static str = "";
}Expand description
A trait for defining a service endpoint.
Provided Associated Constants§
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.