pub trait InstrumentSpec:
'static
+ Debug
+ Clone
+ Copy
+ PartialEq
+ Eq
+ PartialOrd
+ Ord
+ Hash
+ Send
+ Sync {
type PriceSpec: XSpec;
type VolumeSpec: XSpec;
type PriceType: PriceType<Self::PriceSpec>;
type VolumeType: VolumeType<Self::VolumeSpec>;
const INSTRUMENT_KIND: InstrumentKind;
const BARE_SYMBOL: &'static str;
}Required Associated Constants§
const INSTRUMENT_KIND: InstrumentKind
const BARE_SYMBOL: &'static str
Required Associated Types§
type PriceSpec: XSpec
type VolumeSpec: XSpec
type PriceType: PriceType<Self::PriceSpec>
type VolumeType: VolumeType<Self::VolumeSpec>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".