pub enum UartError<E> {
Io(UartIoError<E>),
Protocol(Error),
}Expand description
UART adapter error wrapper.
Variants§
Trait Implementations§
impl<E: Copy> Copy for UartError<E>
impl<E: Eq> Eq for UartError<E>
Source§impl<E: PartialEq> PartialEq for UartError<E>
impl<E: PartialEq> PartialEq for UartError<E>
impl<E> StructuralPartialEq for UartError<E>
Auto Trait Implementations§
impl<E> Freeze for UartError<E>where
E: Freeze,
impl<E> RefUnwindSafe for UartError<E>where
E: RefUnwindSafe,
impl<E> Send for UartError<E>where
E: Send,
impl<E> Sync for UartError<E>where
E: Sync,
impl<E> Unpin for UartError<E>where
E: Unpin,
impl<E> UnsafeUnpin for UartError<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for UartError<E>where
E: UnwindSafe,
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