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