Crate jsonrpsee_types
source ·Expand description
JSON-RPC specific types.
Re-exports
pub use error::ErrorObject;
pub use error::ErrorObjectOwned;
pub use error::ErrorResponse;
pub use error::SubscriptionEmptyError;
pub use error::SubscriptionResult;
pub use params::Id;
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::NotificationSer;
pub use request::Request;
pub use request::RequestSer;
pub use response::Response;
pub use response::SubscriptionPayload;
pub use response::SubscriptionResponse;
Modules
- JSON-RPC response error object related types.
- 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. - 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. - JSON-RPC response object related types. Types pertaining to JSON-RPC responses.
Type Definitions
- Empty server
RpcParams
type to use while registering modules.