Struct jsonrpc_macros::pubsub::Subscriber [] [src]

pub struct Subscriber<T, E = Error> { /* fields omitted */ }

New PUB-SUB subcriber.

Methods

impl<T, E> Subscriber<T, E>
[src]

Wrap non-typed subscriber.

Reject subscription with given error.

Assign id to this subscriber. This method consumes Subscriber and returns Sink if the connection is still open or error otherwise.

Trait Implementations

impl<T: Debug, E: Debug> Debug for Subscriber<T, E>
[src]

Formats the value using the given formatter.