pub struct UartInterruptTx<U, T> { /* private fields */ }Implementations§
Source§impl<U, T> UartInterruptTx<U, T>where
U: UartPeriph,
T: Timeout,
impl<U, T> UartInterruptTx<U, T>where
U: UartPeriph,
T: Timeout,
pub fn new( uart: [U; 2], buf_size: usize, timeout: T, flush_timeout: T, ) -> (Self, UartInterruptTxHandler<U>)
Trait Implementations§
Source§impl<U: UartPeriph, T: Timeout> ErrorType for UartInterruptTx<U, T>
impl<U: UartPeriph, T: Timeout> ErrorType for UartInterruptTx<U, T>
Source§impl<U: UartPeriph, T: Timeout> Write for UartInterruptTx<U, T>
impl<U: UartPeriph, T: Timeout> Write for UartInterruptTx<U, T>
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, T> !Freeze for UartInterruptTx<U, T>
impl<U, T> !RefUnwindSafe for UartInterruptTx<U, T>
impl<U, T> Send for UartInterruptTx<U, T>
impl<U, T> !Sync for UartInterruptTx<U, T>
impl<U, T> Unpin for UartInterruptTx<U, T>
impl<U, T> UnwindSafe for UartInterruptTx<U, T>where
U: UnwindSafe,
T: 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