pub enum UartTransfer {
Byte {
data: u8,
},
Broken {
data: u8,
parity: Option<bool>,
error: UartTransferDecodeError,
},
Break,
}
Variants§
Trait Implementations§
Source§impl Debug for UartTransfer
impl Debug for UartTransfer
Source§impl PartialEq for UartTransfer
impl PartialEq for UartTransfer
impl StructuralPartialEq for UartTransfer
Auto Trait Implementations§
impl Freeze for UartTransfer
impl RefUnwindSafe for UartTransfer
impl Send for UartTransfer
impl Sync for UartTransfer
impl Unpin for UartTransfer
impl UnwindSafe for UartTransfer
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