Struct multiwii_serial_protocol::MspParser [] [src]

pub struct MspParser { /* fields omitted */ }

Parser that can find packets from a raw byte stream

Methods

impl MspParser
[src]

[src]

Create a new parser

[src]

Are we waiting for the header of a brand new packet?

[src]

Parse the next input byte. Returns a valid packet whenever a full packet is received, otherwise restarts the state of the parser.

Trait Implementations

impl Debug for MspParser
[src]

[src]

Formats the value using the given formatter.