Skip to main content

frame_kind

Function frame_kind 

Source
pub fn frame_kind(h: &HeaderMap) -> Result<FrameKind, FrameMetaError>
Expand description

Read the kind off a frame-plane message.

A message with no Kanade-Kind header is rejected rather than assumed: every publisher of this plane sets it, so a missing one means the message did not come from a publisher that agrees with this contract.