Enum ross_protocol::ross_packet::RossPacketBuilderError[][src]

pub enum RossPacketBuilderError {
    OutOfOrder,
    SingleFramePacket,
    TooManyFrames,
    WrongFrameType,
    DeviceAddressMismatch,
    MissingFrames,
}

Variants

OutOfOrder

Frame supplied was not the next frame in the sequence+

SingleFramePacket

Expected a multi frame packet but a single frame packet was given

TooManyFrames

Expected less frames to be in the packet+

WrongFrameType

Expected an error frame but a data frame was given or the other way around+

DeviceAddressMismatch

The frame given was transmitted by a different device than the previous frames+

MissingFrames

Expected more frames+

Trait Implementations

Formats the value using the given formatter. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.