pub struct Empty;Expand description
Represents the empty JSON-RPC program.
Trait Implementations§
Source§impl<Compiler> CompileJsonRpcProgram<Compiler> for Emptywhere
Compiler: JsonRpcAlg,
impl<Compiler> CompileJsonRpcProgram<Compiler> for Emptywhere
Compiler: JsonRpcAlg,
Source§type Methods = <Compiler as JsonRpcAlg>::Methods
type Methods = <Compiler as JsonRpcAlg>::Methods
The method collection produced by
Compiler.Source§fn compile_jsonrpc_program(self, compiler: &Compiler) -> Self::Methods
fn compile_jsonrpc_program(self, compiler: &Compiler) -> Self::Methods
Folds the complete first-order program through
compiler.Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnsafeUnpin for Empty
impl UnwindSafe for Empty
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.