Skip to main content

HttpProgramAlg

Trait HttpProgramAlg 

Source
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§

Source

type Route

The route representation produced by Compiler.

Required Methods§

Source

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".

Implementors§