pub struct Tx<UART> { /* private fields */ }Expand description
Uart transmitter
Implementations§
Trait Implementations§
Source§impl ErrorType for Tx<UART1>
impl ErrorType for Tx<UART1>
Source§type Error = Infallible
type Error = Infallible
Error type of all the IO operations on this type.
Source§impl ErrorType for Tx<UART2>
impl ErrorType for Tx<UART2>
Source§type Error = Infallible
type Error = Infallible
Error type of all the IO operations on this type.
Source§impl Write for Tx<UART1>
impl Write for Tx<UART1>
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.
Source§impl Write for Tx<UART2>
impl Write for Tx<UART2>
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.
Source§impl<UART> Write for Tx<UART>
impl<UART> Write for Tx<UART>
Source§impl WriteReady for Tx<UART1>
impl WriteReady for Tx<UART1>
Auto Trait Implementations§
impl<UART> Freeze for Tx<UART>
impl<UART> RefUnwindSafe for Tx<UART>where
UART: RefUnwindSafe,
impl<UART> Send for Tx<UART>where
UART: Send,
impl<UART> Sync for Tx<UART>where
UART: Sync,
impl<UART> Unpin for Tx<UART>where
UART: Unpin,
impl<UART> UnsafeUnpin for Tx<UART>
impl<UART> UnwindSafe for Tx<UART>where
UART: 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