Skip to main content

decode_indicative_rows

Function decode_indicative_rows 

Source
pub fn decode_indicative_rows(
    frame: &str,
) -> Result<Option<Vec<WsIndicativeMarketData>>>
Expand description

Decode one text frame and return its indicative rows, or None for any other message type.

Frames come from the network, so they are decoded with Serde, whose default recursion limit rejects hostile nesting (the repository JSON policy: Serde incoming, Sonic outgoing).