pub struct UartDmaBufTx<U, CH, W> { /* private fields */ }Implementations§
Source§impl<U, CH, W> UartDmaBufTx<U, CH, W>
impl<U, CH, W> UartDmaBufTx<U, CH, W>
pub fn new( uart: U, dma_ch: CH, buf_size: usize, timeout: W, flush_timeout: W, ) -> (Self, DmaRingbufTxLoader<u8, CH>)
Trait Implementations§
Source§impl<U, CH, W> ErrorType for UartDmaBufTx<U, CH, W>
impl<U, CH, W> ErrorType for UartDmaBufTx<U, CH, W>
Source§impl<U, CH, W> Write for UartDmaBufTx<U, CH, W>
impl<U, CH, W> Write for UartDmaBufTx<U, CH, 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, CH, W> !Freeze for UartDmaBufTx<U, CH, W>
impl<U, CH, W> !RefUnwindSafe for UartDmaBufTx<U, CH, W>
impl<U, CH, W> Send for UartDmaBufTx<U, CH, W>
impl<U, CH, W> !Sync for UartDmaBufTx<U, CH, W>
impl<U, CH, W> Unpin for UartDmaBufTx<U, CH, W>
impl<U, CH, W> !UnwindSafe for UartDmaBufTx<U, CH, W>
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