Expand description
Compatibility shims for different DBN versions.
Re-exports§
pub use crate::record::ErrorMsg as ErrorMsgV2;
pub use crate::record::InstrumentDefMsg as InstrumentDefMsgV2;
pub use crate::record::SymbolMappingMsg as SymbolMappingMsgV2;
pub use crate::record::SystemMsg as SystemMsgV2;
Structs§
- An error message from the Databento Live Subscription Gateway (LSG) in DBN version 1.
- Definition of an instrument in DBN version 1. The record of the
Definition
schema. - A symbol mapping message in DBN version 1 which maps a symbol of one
SType
to another. - A non-error message from the Databento Live Subscription Gateway (LSG) in DBN version 1. Also used for heartbeating.
Constants§
- The length of symbol fields in DBN version 1 (prior version being phased out).
- The length of symbol fields in DBN version 2 (current version).
Traits§
- A trait for symbol mapping records.
Functions§
- Decodes bytes into a
RecordRef
, optionally applying conversion from structs of a prior DBN version to the current DBN version, according to theversion
andupgrade_policy
. - Returns the length of symbol fields in the given DBN version