pub enum UartChannel<'a> {
Pins(UartPins),
Rtt(SeggerRttMemoryRefs<'a>),
}
Expand description
Uart chanel representation depends on whether USB debugging is enabled.
Variants§
Pins(UartPins)
Rtt(SeggerRttMemoryRefs<'a>)
Auto Trait Implementations§
impl<'a> Freeze for UartChannel<'a>
impl<'a> !RefUnwindSafe for UartChannel<'a>
impl<'a> !Send for UartChannel<'a>
impl<'a> !Sync for UartChannel<'a>
impl<'a> Unpin for UartChannel<'a>
impl<'a> !UnwindSafe for UartChannel<'a>
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