Enum airmash_protocol::Error [] [src]

pub enum Error {
    Eof,
    TrailingBytes,
    Utf8Error(Utf8Error),
    InvalidPacketType,
    InvalidKeyCode(u8),
    ArrayLengthTooBig,
    InvalidPlaneType(u8),
    InvalidFlag(u16),
}

All the errors that can occur when serializing or deserializing messages within the airmash protocol.

Variants

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error