Trait barter_data::exchange::StreamSelector
source · pub trait StreamSelector<Instrument, Kind>{
type Stream: MarketStream<Self, Instrument, Kind>;
}Expand description
Defines the MarketStream kind associated with an exchange
Subscription SubscriptionKind.
§Notes
Must be implemented by an exchange Connector if it supports a specific
SubscriptionKind.
Required Associated Types§
type Stream: MarketStream<Self, Instrument, Kind>
Object Safety§
This trait is not object safe.