Function barter_data::streams::builder::validate
source ยท pub fn validate<Exchange, Kind>(
subscriptions: &[Subscription<Exchange, Instrument, Kind>],
) -> Result<(), DataError>where
Exchange: Connector,Expand description
Validate the provided collection of Subscriptions, ensuring that the associated exchange
supports every Subscription InstrumentKind.