Enum ross_protocol::packet::PacketBuilderError
source · [−]pub enum PacketBuilderError {
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
sourceimpl Debug for PacketBuilderError
impl Debug for PacketBuilderError
impl StructuralPartialEq for PacketBuilderError
Auto Trait Implementations
impl RefUnwindSafe for PacketBuilderError
impl Send for PacketBuilderError
impl Sync for PacketBuilderError
impl Unpin for PacketBuilderError
impl UnwindSafe for PacketBuilderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more