Expand description
Shared utilities for jsonrpsee.
Re-exports§
pub use client::Error as ClientError;clientpub use error::RegisterMethodError;pub use error::StringError;
Modules§
- client
client - Shared utilities for
jsonrpseeclients. - error
- Error type.
- http_
helpers http-helpers - Shared HTTP utilities.
- id_
providers server - Subscription ID providers.
- params
- RPC Parameters. RPC parameters.
- server
server - Shared modules for the JSON-RPC servers.
- tracing
- Shared tracing helpers to trace RPC calls.
- traits
- Traits
Macros§
- rpc_
params - Convert the given values to a
crate::params::ArrayParamsas expected by a jsonrpsee Client (http or websocket).
Structs§
- Json
RawValue - Reference to a range of bytes encompassing a single valid JSON value in the input data.
Enums§
Constants§
- TEN_
MB_ SIZE_ BYTES - Ten megabytes.
Traits§
- Deserialize
Owned - A data structure that can be deserialized without borrowing any data from the deserializer.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.
Functions§
- to_
json_ raw_ value - Convert a
Tinto a boxedRawValue. - to_
json_ value - Convert a
Tintoserde_json::Valuewhich is an enum that can represent any valid JSON data.
Type Aliases§
- BoxError
- Type erased error.
- Empty
Server Params - Empty server
RpcParamstype to use while registering modules. - RpcResult
- JSON-RPC result.
- Subscription
Result - The return type if the subscription wants to return
Result.