Skip to main content

ClientSubscription

Type Alias ClientSubscription 

Source
pub type ClientSubscription<T> = Receiver<Result<T, ClientError>>;
Expand description

A live subscription: items until the server ends it, or a terminal Err. None after an Err, or when the stream ends normally (a subscription procedure whose source ran out). Dropping it cancels the subscription.

Aliased Typeยง

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