pub struct Merge<Left, Right> { /* private fields */ }Expand description
Represents the categorical coproduct of two route programs.
Trait Implementations§
Source§impl<Compiler, Left, Right, Route> CompileRouteProgram<Compiler> for Merge<Left, Right>where
Compiler: RouteAlg<Route = Route>,
Left: CompileRouteProgram<Compiler, Route = Route>,
Right: CompileRouteProgram<Compiler, Route = Route>,
impl<Compiler, Left, Right, Route> CompileRouteProgram<Compiler> for Merge<Left, Right>where
Compiler: RouteAlg<Route = Route>,
Left: CompileRouteProgram<Compiler, Route = Route>,
Right: CompileRouteProgram<Compiler, Route = Route>,
Auto Trait Implementations§
impl<Left, Right> Freeze for Merge<Left, Right>
impl<Left, Right> RefUnwindSafe for Merge<Left, Right>where
Left: RefUnwindSafe,
Right: RefUnwindSafe,
impl<Left, Right> Send for Merge<Left, Right>
impl<Left, Right> Sync for Merge<Left, Right>
impl<Left, Right> Unpin for Merge<Left, Right>
impl<Left, Right> UnsafeUnpin for Merge<Left, Right>where
Left: UnsafeUnpin,
Right: UnsafeUnpin,
impl<Left, Right> UnwindSafe for Merge<Left, Right>where
Left: UnwindSafe,
Right: 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.