pub struct Rx<U> { /* private fields */ }Expand description
UART Receiver
Implementations§
Source§impl<U: UartPeriphExt> Rx<U>
impl<U: UartPeriphExt> Rx<U>
pub fn into_poll<W: Waiter>( self, timeout: W, continue_timeout: W, ) -> UartPollRx<U, W>
pub fn into_interrupt<W: Waiter>( self, buf_size: usize, timeout: W, ) -> (UartInterruptRx<U, W>, UartInterruptRxHandler<U>)
pub fn into_dma_circle<CH, W>( self, dma_ch: CH, buf_size: usize, timeout: W, ) -> UartDmaRx<U, CH, W>
Auto Trait Implementations§
impl<U> Freeze for Rx<U>where
U: Freeze,
impl<U> RefUnwindSafe for Rx<U>where
U: RefUnwindSafe,
impl<U> Send for Rx<U>where
U: Send,
impl<U> Sync for Rx<U>where
U: Sync,
impl<U> Unpin for Rx<U>where
U: Unpin,
impl<U> UnwindSafe for Rx<U>where
U: 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