#[non_exhaustive]pub enum RxError {
FifoOverflowed,
GlitchOccurred,
FrameFormatViolated,
ParityMismatch,
}
Expand description
UART RX Error
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FifoOverflowed
The RX FIFO overflow happened.
This error occurs when RX FIFO is full and a new byte is received.
GlitchOccurred
A glitch was detected on the RX line.
This error occurs when an unexpected or erroneous signal (glitch) is detected on the UART RX line, which could lead to incorrect data reception.
FrameFormatViolated
A framing error was detected on the RX line.
This error occurs when the received data does not conform to the expected UART frame format.
ParityMismatch
A parity error was detected on the RX line.
This error occurs when the parity bit in the received data does not match the expected parity configuration.
Trait Implementations§
Source§impl Error for RxError
impl Error for RxError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl Error for RxError
Available on crate feature unstable
only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Error for RxError
unstable
only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§impl From<RxError> for IoError
Available on crate feature unstable
only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl From<RxError> for IoError
unstable
only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Copy for RxError
impl StructuralPartialEq 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
clone_to_uninit
)