//! # Events subscriber module.
//!//! This module contains the [`Subscriber`] and [`MultiplexSubscriber`] traits
//! which is used by types to provide ability to subscribe for real-time events.
usecrate::{core::{Deserializer, Transport},lib::alloc::vec::Vec,subscribe::{Subscription, SubscriptionOptions},};/// Trait representing a subscriber.
pubtraitSubscriber<T: Transport + Send + Sync, D: Deserializer + Send + Sync> {/// Creates a new subscription with the specified options.
////// # Arguments
////// * `options` - The subscription options. Pass `None` if no specific
/// options should be applied.
////// # Returns
////// A [`Subscription`] object representing the newly created subscription to
/// receiver's data stream events.
fnsubscription(&self, options:Option<Vec<SubscriptionOptions>>)->Subscription<T, D>;}