pub trait CompileRouteProgram<Compiler> {
type Route;
// Required method
fn compile_route(self, compiler: &Compiler) -> Self::Route;
}Expand description
Compiles a first-order route program with a concrete interpreter.
Required Associated Types§
Required Methods§
Sourcefn compile_route(self, compiler: &Compiler) -> Self::Route
fn compile_route(self, compiler: &Compiler) -> Self::Route
Folds the complete first-order program through compiler.
Endpoint construction happens here, after composition has preserved all handler, input, argument, and output-transform types.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".