Struct jsonrpc_core::control::NewSubscriber  
                   
                       [−]
                   
               [src]
pub struct NewSubscriber { /* fields omitted */ }New subscriber waiting for id to assign
Methods
impl NewSubscriber[src]
fn reject(self, error: Error)
Rejects this subscriber
fn assign_id(self, id: Value) -> Subscriber
Assign and send new ID to this subscriber.
Converts this object into Subscriber which allows to send notifications to the client.