[][src]Enum multiwii_serial_protocol_v2::MspPacketParseError

pub enum MspPacketParseError {
    OutputBufferSizeMismatch,
    CrcMismatch {
        expected: u8,
        calculated: u8,
    },
    InvalidData,
    InvalidHeader1,
    InvalidHeader2,
    InvalidDirection,
    InvalidDataLength,
}

Packet parsing error

Variants

OutputBufferSizeMismatch
CrcMismatch

Fields of CrcMismatch

expected: u8calculated: u8
InvalidData
InvalidHeader1
InvalidHeader2
InvalidDirection
InvalidDataLength

Trait Implementations

impl Clone for MspPacketParseError[src]

impl Copy for MspPacketParseError[src]

impl Debug for MspPacketParseError[src]

impl PartialEq<MspPacketParseError> for MspPacketParseError[src]

impl StructuralPartialEq for MspPacketParseError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.