Crate jsonrpsee_core
source ·Expand description
Shared utilities for jsonrpsee.
Re-exports§
pub use client::Error as ClientError;pub use error::RegisterMethodError;pub use error::StringError;
Modules§
- Shared utilities for
jsonrpseeclients. - Error type.
- Shared HTTP utilities.
- Subscription ID providers.
- RPC Parameters. RPC parameters.
- Shared modules for the JSON-RPC servers.
- Shared tracing helpers to trace RPC calls.
- Traits
Macros§
- Convert the given values to a
crate::params::ArrayParamsas expected by a jsonrpsee Client (http or websocket).
Structs§
- Reference to a range of bytes encompassing a single valid JSON value in the input data.
Enums§
- A clone-on-write smart pointer.
- Represents any valid JSON value.
Constants§
- Ten megabytes.
Traits§
- A data structure that can be deserialized without borrowing any data from the deserializer.
- A data structure that can be serialized into any data format supported by Serde.
Functions§
- Convert a
Tinto a boxedRawValue. - Convert a
Tintoserde_json::Valuewhich is an enum that can represent any valid JSON data.
Type Aliases§
- Type erased error.
- Empty server
RpcParamstype to use while registering modules. - JSON-RPC result.
- The return type if the subscription wants to return
Result.