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
Eof
TrailingBytes
Utf8Error(Utf8Error)
InvalidPacketType
InvalidKeyCode(u8)
ArrayLengthTooBig
InvalidPlaneType(u8)
InvalidFlag(u16)
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Error
[src]
fn clone(&self) -> Error
[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 Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more