Struct esp32c2_hal::UartTx
source · pub struct UartTx<'d, T> { /* private fields */ }
Expand description
UART TX
Implementations§
Trait Implementations§
source§impl<T> Write for UartTx<'_, T>where
T: Instance,
impl<T> Write for UartTx<'_, T>where T: Instance,
source§fn write(
&mut self,
buf: &[u8]
) -> Result<usize, <UartTx<'_, T> as ErrorType>::Error>
fn write( &mut self, buf: &[u8] ) -> Result<usize, <UartTx<'_, T> as ErrorType>::Error>
Write a buffer into this writer, returning how many bytes were written. Read more
source§fn flush(&mut self) -> Result<(), <UartTx<'_, T> as ErrorType>::Error>
fn flush(&mut self) -> Result<(), <UartTx<'_, T> as ErrorType>::Error>
Flush this output stream, blocking until all intermediately buffered contents reach their destination.
source§impl<T> Write for UartTx<'_, T>where
T: Instance,
impl<T> Write for UartTx<'_, T>where T: Instance,
Auto Trait Implementations§
impl<'d, T> RefUnwindSafe for UartTx<'d, T>where T: RefUnwindSafe,
impl<'d, T> Send for UartTx<'d, T>where T: Send,
impl<'d, T> Sync for UartTx<'d, T>where T: Sync,
impl<'d, T> Unpin for UartTx<'d, T>
impl<'d, T> !UnwindSafe for UartTx<'d, T>
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