Enum multiwii_serial_protocol::MspPacketParseError
[−]
[src]
pub enum MspPacketParseError { OutputBufferSizeMismatch, CrcMismatch { expected: u8, calculated: u8, }, InvalidData, InvalidHeader1, InvalidHeader2, InvalidDirection, InvalidDataLength, }
Packet parsing error
Variants
OutputBufferSizeMismatch
CrcMismatch
Fields of CrcMismatch
expected: u8 | |
calculated: u8 |
InvalidData
InvalidHeader1
InvalidHeader2
InvalidDirection
InvalidDataLength
Trait Implementations
impl Copy for MspPacketParseError
[src]
impl Clone for MspPacketParseError
[src]
fn clone(&self) -> MspPacketParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MspPacketParseError
[src]
impl PartialEq for MspPacketParseError
[src]
fn eq(&self, __arg_0: &MspPacketParseError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MspPacketParseError) -> bool
[src]
This method tests for !=
.