pub enum UartError {
Config,
BufferOverflow,
Read,
Write,
}Expand description
UART-specific errors.
Variants§
Config
Invalid UART configuration.
BufferOverflow
Receive buffer overflow (data lost).
Read
Read operation failed.
Write
Write operation failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UartError
impl RefUnwindSafe for UartError
impl Send for UartError
impl Sync for UartError
impl Unpin for UartError
impl UnsafeUnpin for UartError
impl UnwindSafe for UartError
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