pub struct UartPins {
pub rx: u8,
pub tx: u8,
}Expand description
UART pin assignment.
UART TX and RX pin numbers are target-specific and must be provided
by the port binary (e.g. ssh-stamp-esp32). There is no sensible
cross-platform default; UartPins is constructed explicitly by the
binary and passed to SSHStampConfig::new.
Fields§
§rx: u8§tx: u8Trait Implementations§
impl StructuralPartialEq for UartPins
Auto Trait Implementations§
impl Freeze for UartPins
impl RefUnwindSafe for UartPins
impl Send for UartPins
impl Sync for UartPins
impl Unpin for UartPins
impl UnsafeUnpin for UartPins
impl UnwindSafe for UartPins
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