rustrade_data/exchange/lse/stream.rs
1//! The London Strategic Edge market stream.
2
3use super::{connection::LseAttachment, transformer::LseTransformer};
4use crate::subscriber::shared_stream::SharedStream;
5
6/// The market stream every London Strategic Edge subscription kind is served over: a
7/// [`SharedStream`] reading an [`LseAttachment`], its view of the subscriber's shared connection.
8///
9/// The connection hands the stream what it needs to resume, if its subscriber resumes, and the
10/// stream hands that to its [`LseTransformer`] before any frame reaches it — see
11/// [`LseResume`](super::transformer::LseResume).
12pub type LseStream<Exchange, InstrumentKey, Kind> =
13 SharedStream<LseAttachment, LseTransformer<Exchange, InstrumentKey, Kind>>;