Skip to main content

frame_kind

Function frame_kind 

Source
pub fn frame_kind(frame: &[u8]) -> Option<u8>
Expand description

The cover kind of a PNP frame ([KIND_DATA] / [KIND_ROLL]), or None if it is not a well-formed PNP frame — lets a receive loop dispatch data vs. handoff without opening.