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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)