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<T: Timeout>( self, timeout: T, continue_timeout: T, ) -> UartPollRx<U, T>
pub fn into_interrupt<T: Timeout>( self, buf_size: usize, timeout: T, ) -> (UartInterruptRx<U, T>, UartInterruptRxHandler<U>)
pub fn into_dma_circle<CH, T>( self, dma_ch: CH, buf_size: usize, timeout: T, ) -> UartDmaRx<U, CH, T>
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