pub enum RxError {
Crc,
Overrun,
HardReset,
}
Expand description
Receive Error.
Variants§
Crc
Incorrect CRC or truncated message (a line becoming static before EOP is met).
Overrun
Provided buffer was too small for the received message.
HardReset
Hard Reset received before or during reception.
Trait Implementations§
impl Copy for RxError
Auto Trait Implementations§
impl Freeze for RxError
impl RefUnwindSafe for RxError
impl Send for RxError
impl Sync for RxError
impl Unpin for RxError
impl UnwindSafe for RxError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more