pub struct UsartTx<'d, M: Mode> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'d> Write for UsartTx<'d, Blocking>
impl<'d> Write for UsartTx<'d, Blocking>
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<'d, M> Freeze for UsartTx<'d, M>
impl<'d, M> RefUnwindSafe for UsartTx<'d, M>where
M: RefUnwindSafe,
impl<'d, M> Send for UsartTx<'d, M>where
M: Send,
impl<'d, M> Sync for UsartTx<'d, M>where
M: Sync,
impl<'d, M> Unpin for UsartTx<'d, M>where
M: Unpin,
impl<'d, M> UnwindSafe for UsartTx<'d, M>where
M: 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