pub struct Tx<UART, PIN> { /* private fields */ }Expand description
Serial transmitter half
Implementations§
Trait Implementations§
Source§impl<UART: UartX, PIN: TxPin<UART>> Write for Tx<UART, PIN>
impl<UART: UartX, PIN: TxPin<UART>> Write for Tx<UART, PIN>
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<UART, PIN> Freeze for Tx<UART, PIN>
impl<UART, PIN> RefUnwindSafe for Tx<UART, PIN>where
UART: RefUnwindSafe,
PIN: RefUnwindSafe,
impl<UART, PIN> Send for Tx<UART, PIN>
impl<UART, PIN> Sync for Tx<UART, PIN>
impl<UART, PIN> Unpin for Tx<UART, PIN>
impl<UART, PIN> UnwindSafe for Tx<UART, PIN>where
UART: UnwindSafe,
PIN: 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