pub struct Named<Program>(/* private fields */);Expand description
Includes a separately named HTTP program in a route program.
Trait Implementations§
Source§impl<Compiler, Program> CompileRouteProgram<Compiler> for Named<Program>where
Program: HttpProgramAlg<Compiler>,
impl<Compiler, Program> CompileRouteProgram<Compiler> for Named<Program>where
Program: HttpProgramAlg<Compiler>,
Auto Trait Implementations§
impl<Program> Freeze for Named<Program>where
Program: Freeze,
impl<Program> RefUnwindSafe for Named<Program>where
Program: RefUnwindSafe,
impl<Program> Send for Named<Program>where
Program: Send,
impl<Program> Sync for Named<Program>where
Program: Sync,
impl<Program> Unpin for Named<Program>where
Program: Unpin,
impl<Program> UnsafeUnpin for Named<Program>where
Program: UnsafeUnpin,
impl<Program> UnwindSafe for Named<Program>where
Program: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<This> HttpProgramExt<This> for This
impl<This> HttpProgramExt<This> for This
Source§fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
fn compile_http<Program>(
&self,
program: Program,
) -> <Program as HttpProgramAlg<This>>::Routewhere
Program: HttpProgramAlg<This>,
Compiles a named HTTP program with this interpreter.