pub struct Rx<U: UartPeriph> { /* private fields */ }Expand description
UART Receiver
Implementations§
Source§impl<U: UartPeriph> Rx<U>
impl<U: UartPeriph> Rx<U>
pub fn into_poll( self, retry_times: u32, continue_retry_times: u32, ) -> UartPollRx<U>
pub fn into_interrupt( self, buf_size: usize, retry_times: u32, ) -> (UartInterruptRx<U>, UartInterruptRxHandler<U>)
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