pub trait StreamSelector<Instrument, Kind>{
type SnapFetcher: SnapshotFetcher<Self, 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 SnapFetcher: SnapshotFetcher<Self, Kind>
type Stream: MarketStream<Self, Instrument, Kind>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.