Enum jsonrpc_core::control::Subscription [] [src]

pub enum Subscription {
    Open {
        params: Params,
        subscriber: NewSubscriber,
    },
    Close {
        id: Value,
        ready: Ready,
    },
}

Subscription control object

Variants

Open new subscription with given parameters

Fields

Parameters

Awaiting subscriber

Close previously opened subscription

Fields

Id of subscription

Asynchronous response

Trait Implementations

impl Debug for Subscription
[src]

Formats the value using the given formatter.

impl PartialEq for Subscription
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.