pub struct Merge<Left, Right> { /* private fields */ }Expand description
Represents the composition of two JSON-RPC programs.
Trait Implementations§
Source§impl<Compiler, Left, Right, Methods> CompileJsonRpcProgram<Compiler> for Merge<Left, Right>where
Compiler: JsonRpcAlg<Methods = Methods>,
Left: CompileJsonRpcProgram<Compiler, Methods = Methods>,
Right: CompileJsonRpcProgram<Compiler, Methods = Methods>,
impl<Compiler, Left, Right, Methods> CompileJsonRpcProgram<Compiler> for Merge<Left, Right>where
Compiler: JsonRpcAlg<Methods = Methods>,
Left: CompileJsonRpcProgram<Compiler, Methods = Methods>,
Right: CompileJsonRpcProgram<Compiler, Methods = Methods>,
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> JsonRpcProgramExt<This> for This
impl<This> JsonRpcProgramExt<This> for This
Source§fn compile_jsonrpc<Program>(
&self,
program: Program,
) -> <Program as JsonRpcProgramAlg<This>>::Methodswhere
Program: JsonRpcProgramAlg<This>,
fn compile_jsonrpc<Program>(
&self,
program: Program,
) -> <Program as JsonRpcProgramAlg<This>>::Methodswhere
Program: JsonRpcProgramAlg<This>,
Compiles a named JSON-RPC program with this interpreter.