pub struct TsClient { /* private fields */ }Expand description
Interprets a JSON-RPC program as a TypeScript client module.
Implementations§
Trait Implementations§
impl Copy for TsClient
Source§impl<Context> HandlerContextAlg<Context> for TsClient
impl<Context> HandlerContextAlg<Context> for TsClient
Source§impl JsonRpcAlg for TsClient
impl JsonRpcAlg for TsClient
Source§impl<Handle, Args, Output> JsonRpcFallibleAlg<Handle, Args, Output> for TsClient
impl<Handle, Args, Output> JsonRpcFallibleAlg<Handle, Args, Output> for TsClient
Source§impl<Handle, Args, Output> JsonRpcMethodAlg<Handle, Args, Output> for TsClient
impl<Handle, Args, Output> JsonRpcMethodAlg<Handle, Args, Output> for TsClient
Auto Trait Implementations§
impl Freeze for TsClient
impl RefUnwindSafe for TsClient
impl Send for TsClient
impl Sync for TsClient
impl Unpin for TsClient
impl UnsafeUnpin for TsClient
impl UnwindSafe for TsClient
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<_INNER> JsonRpcApiAlg for _INNERwhere
_INNER: JsonRpcAlg,
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.
Source§impl<This> ShapeProgramExt<This> for This
impl<This> ShapeProgramExt<This> for This
Source§fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
fn compile_shape<Program>(
&self,
program: Program,
) -> <Program as ShapeProgramAlg<This>>::Tywhere
Program: ShapeProgramAlg<This>,
Folds a declaration with this interpretation.