decode_instrument_def_msg

Function decode_instrument_def_msg 

Source
pub fn decode_instrument_def_msg(
    msg: &InstrumentDefMsg,
    instrument_id: InstrumentId,
    ts_init: Option<UnixNanos>,
) -> Result<InstrumentAny>
Expand description

ยงErrors

Returns an error if decoding the InstrumentDefMsg fails.