Struct jsonrpc_client_transports::SubscriptionStream[][src]

pub struct SubscriptionStream { /* fields omitted */ }

The stream returned by a subscribe.

Implementations

impl SubscriptionStream[src]

pub fn new(recv: Receiver<Result<Value, RpcError>>) -> Self[src]

Crates a new SubscriptionStream.

Trait Implementations

impl Stream for SubscriptionStream[src]

type Item = Value

The type of item this stream will yield on success.

type Error = RpcError

The type of error this stream may generate.

Auto Trait Implementations

impl !RefUnwindSafe for SubscriptionStream

impl Send for SubscriptionStream

impl Sync for SubscriptionStream

impl Unpin for SubscriptionStream

impl !UnwindSafe for SubscriptionStream

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]