Struct nrf51_hal::serial::Tx
[−]
[src]
pub struct Tx<UART> { /* fields omitted */ }
Serial transmitter
Trait Implementations
impl Write<u8> for Tx<UART0>
[src]
type Error = !
Write error
fn flush(&mut self) -> Result<(), Self::Error>
[src]
Ensures that none of the previously written words are still buffered
fn write(&mut self, byte: u8) -> Result<(), Self::Error>
[src]
Writes a single word to the serial interface
impl<UART> Write for Tx<UART> where
Tx<UART>: Write<u8>,
[src]
Tx<UART>: Write<u8>,
fn write_str(&mut self, s: &str) -> Result
[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
Glue for usage of the [write!
] macro with implementors of this trait. Read more