Crate jsonrpsee_core

source ·
Expand description

Shared utilities for jsonrpsee.

Re-exports

pub use error::Error;

Modules

clientclient
Shared utilities for jsonrpsee clients.
Error type.
http_helpershttp-helpers
Utility methods relying on hyper
Subscription ID providers.
RPC Parameters. RPC parameters.
serverserver
Shared modules for the JSON-RPC servers.
Shared tracing helpers to trace RPC calls.
Traits

Macros

Convert the given values to a crate::params::ArrayParams as 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

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 T into a boxed RawValue.
Convert a T into serde_json::Value which is an enum that can represent any valid JSON data.

Type Definitions

Compact three word Cow that puts the ownership tag in capacity. This is a type alias, for documentation see beef::generic::Cow.
JSON-RPC result.

Attribute Macros

Derive Macros