pub struct Nest<Program> { /* private fields */ }Expand description
Represents a route program nested below an HTTP path prefix.
Trait Implementations§
Source§impl<Compiler, Program, Route> CompileRouteProgram<Compiler> for Nest<Program>where
Compiler: HttpRouteAlg<Route = Route>,
Program: CompileRouteProgram<Compiler, Route = Route>,
impl<Compiler, Program, Route> CompileRouteProgram<Compiler> for Nest<Program>where
Compiler: HttpRouteAlg<Route = Route>,
Program: CompileRouteProgram<Compiler, Route = Route>,
Auto Trait Implementations§
impl<Program> Freeze for Nest<Program>where
Program: Freeze,
impl<Program> RefUnwindSafe for Nest<Program>where
Program: RefUnwindSafe,
impl<Program> Send for Nest<Program>where
Program: Send,
impl<Program> Sync for Nest<Program>where
Program: Sync,
impl<Program> Unpin for Nest<Program>where
Program: Unpin,
impl<Program> UnsafeUnpin for Nest<Program>where
Program: UnsafeUnpin,
impl<Program> UnwindSafe for Nest<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.