Enum mbpr::Fault [] [src]

pub enum Fault {
    BadOpCode,
    BadStatus,
    Incomplete,
    BadMagic,
    InvalidPacket,
}

Parsing Error structure

Variants

Opcode does not conform to the standard

Status code does not conform to standard

More data is needed to fully parse packet.

Fixed initial field

Trait Implementations

impl Copy for Fault
[src]

impl Clone for Fault
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Fault
[src]

Formats the value using the given formatter.

impl PartialEq for Fault
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Fault
[src]