pub struct UartInterruptTx<U, W> { /* private fields */ }Implementations§
Source§impl<U, W> UartInterruptTx<U, W>where
U: UartPeriph,
W: Waiter,
impl<U, W> UartInterruptTx<U, W>where
U: UartPeriph,
W: Waiter,
pub fn new( uart: [U; 2], buf_size: usize, timeout: W, flush_timeout: W, ) -> (Self, UartInterruptTxHandler<U>)
Trait Implementations§
Source§impl<U: UartPeriph, W: Waiter> ErrorType for UartInterruptTx<U, W>
impl<U: UartPeriph, W: Waiter> ErrorType for UartInterruptTx<U, W>
Source§impl<U: UartPeriph, W: Waiter> Write for UartInterruptTx<U, W>
impl<U: UartPeriph, W: Waiter> Write for UartInterruptTx<U, W>
Source§fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
fn write(&mut self, buf: &[u8]) -> Result<usize, Self::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
Source§fn flush(&mut self) -> Result<(), Self::Error>
fn flush(&mut self) -> Result<(), Self::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.
Auto Trait Implementations§
impl<U, W> !Freeze for UartInterruptTx<U, W>
impl<U, W> !RefUnwindSafe for UartInterruptTx<U, W>
impl<U, W> Send for UartInterruptTx<U, W>
impl<U, W> !Sync for UartInterruptTx<U, W>
impl<U, W> Unpin for UartInterruptTx<U, W>
impl<U, W> UnwindSafe for UartInterruptTx<U, W>where
U: UnwindSafe,
W: 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