pub trait HttpProgramAlg<Compiler> {
type Route;
// Required method
fn compile_http(self, compiler: &Compiler) -> Self::Route;
}Expand description
Interprets a named, defunctionalized HTTP program with Compiler.
Required Associated Types§
Required Methods§
Sourcefn compile_http(self, compiler: &Compiler) -> Self::Route
fn compile_http(self, compiler: &Compiler) -> Self::Route
Compiles the program through the supplied interpreter.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".