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, Wide>,
pub params: SubscriptionPayloadError<'a, T>,
}
Fields§
§jsonrpc: TwoPointZero
JSON-RPC version.
method: Cow<'a, str, Wide>
Name of the method to be invoked.
params: SubscriptionPayloadError<'a, T>
Parameter values of the request.