Enum mbpr::Fault
[−]
[src]
pub enum Fault {
BadOpCode,
BadStatus,
Incomplete,
BadMagic,
InvalidPacket,
}Parsing Error structure
Variants
BadOpCodeOpcode does not conform to the standard
BadStatusStatus code does not conform to standard
IncompleteMore data is needed to fully parse packet.
BadMagicFixed initial field
- Request =
0x80 - Response =
0x81 DataType =
0x00Was wrong.
InvalidPacketTrait Implementations
impl Copy for Fault[src]
impl Clone for Fault[src]
fn clone(&self) -> Fault
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for Fault[src]
impl PartialEq for Fault[src]
fn eq(&self, __arg_0: &Fault) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.