Type Alias jsonrpsee_types::response::SubscriptionError
source · pub type SubscriptionError<'a, T> = Notification<'a, SubscriptionPayloadError<'a, T>>;Expand description
Subscription response object, embedding a SubscriptionPayload in the params member along with error field.
Aliased Type§
struct SubscriptionError<'a, T> {
pub jsonrpc: TwoPointZero,
pub method: Cow<'a, str>,
pub params: SubscriptionPayloadError<'a, T>,
}Fields§
§jsonrpc: TwoPointZeroJSON-RPC version.
method: Cow<'a, str>Name of the method to be invoked.
params: SubscriptionPayloadError<'a, T>Parameter values of the request.