Skip to main content

SubscriptionStream

Type Alias SubscriptionStream 

pub type SubscriptionStream<T> = Pin<Box<dyn Stream<Item = Result<T, CratestackError>> + Send>>;
Expand description

A live subscription’s items. Ending (None) means the subscription is over; an Err item is terminal too — the binding sends it and stops.

Aliased Type§

pub struct SubscriptionStream<T> { /* private fields */ }