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]

[src]

Wrap non-typed subscriber.

[src]

Reject subscription with given error.

[src]

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]

[src]

Formats the value using the given formatter.