Skip to main content

read_frame

Function read_frame 

Source
pub fn read_frame(frame: &str) -> Result<Frame<'_>, EnvelopeError>
Expand description

Reads the head of frame: (:id ID [:stream N] :form FORM), (:interrupt N) or (:close N).

ยงErrors

The head is not one list, a key or value is missing or invalid.