Crate jsonrpsee_types

Source
Expand description

JSON-RPC specific types.

Re-exports§

pub use error::ErrorCode;
pub use error::ErrorObject;
pub use error::ErrorObjectOwned;
pub use params::Id;
pub use params::InvalidRequestId;
pub use params::Params;
pub use params::ParamsSequence;
pub use params::SubscriptionId;
pub use params::TwoPointZero;
pub use request::InvalidRequest;
pub use request::Notification;
pub use request::Request;
pub use response::Response;
pub use response::ResponsePayload;
pub use response::SubscriptionPayload;
pub use response::SubscriptionResponse;
pub use response::Success as ResponseSuccess;

Modules§

error
JSON-RPC response error object related types.
params
JSON-RPC params related types. Types to handle JSON-RPC request parameters according to the spec. Some types come with a “*Ser” variant that implements serde::Serialize; these are used in the client.
request
JSON-RPC request object related types Types to handle JSON-RPC requests according to the spec. Some types come with a “*Ser” variant that implements serde::Serialize; these are used in the client.
response
JSON-RPC response object related types. Types pertaining to JSON-RPC responses.

Structs§

Extensions
A type map of protocol extensions.