pub struct Serial;Expand description
Zero-sized handle to the board’s console UART, for code written
against embedded-hal-nb’s serial traits rather than
rivet::console directly.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Serial
impl RefUnwindSafe for Serial
impl Send for Serial
impl Sync for Serial
impl Unpin for Serial
impl UnsafeUnpin for Serial
impl UnwindSafe for Serial
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